Revert "Disable dtrace for the arm architecture due to FTBFS during gcc compiling"

This reverts commit b3e0e11edd.

The issue in systemtap is fixed now
https://sourceware.org/git/?p=systemtap.git;a=commit;h=34facf7ee6b43dae66cc109973a4eda42e439163
This commit is contained in:
Lukas Javorsky 2021-12-16 12:34:44 +01:00
parent 314d2bf8f0
commit fc088dbe49
1 changed files with 0 additions and 8 deletions

View File

@ -844,11 +844,7 @@ fi
-DGRN_DATA_DIR=share/%{name}-server/groonga \
-DGROONGA_NORMALIZER_MYSQL_PROJECT_NAME=%{name}-server/groonga-normalizer-mysql \
-DENABLED_LOCAL_INFILE=ON \
%ifarch %{arm}
-DENABLE_DTRACE=OFF \
%else
-DENABLE_DTRACE=ON \
%endif
-DSECURITY_HARDENED=ON \
-DWITH_WSREP=%{?with_galera:ON}%{!?with_galera:OFF} \
-DWITH_INNODB_DISALLOW_WRITES=%{?with_galera:ON}%{!?with_galera:OFF} \
@ -878,10 +874,6 @@ fi
-DCONNECT_WITH_JDBC=OFF \
%{?with_debug: -DCMAKE_BUILD_TYPE=Debug -DWITH_ASAN=OFF -DWITH_INNODB_EXTRA_DEBUG=ON -DWITH_VALGRIND=ON}
# The DTRACE option started to fail on the armv7hl architecture.
# This issue is already beeing discussed in the GCC upstream bugzilla.
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103395
# Whenever this issue is fixed in the GCC, we can enable the DTRACE for ARM again.
CFLAGS="$CFLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
# force PIC mode so that we can build libmysqld.so