1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2024-11-29 01:33:46 +00:00

Remove compiler check as it's breaking the build even on gcc.

This commit is contained in:
King_DuckZ 2016-06-14 11:46:44 +01:00
parent 53835d54b2
commit 6a03afb938

View file

@ -18,7 +18,6 @@ AC_PROG_CXX
AC_PROG_CC AC_PROG_CC
CPPFLAGS="$CPPFLAGS -Isrc" CPPFLAGS="$CPPFLAGS -Isrc"
if test "$CC" = "gcc" ; then
# always want reentrant funcs, not just thread-safe mode. -s # always want reentrant funcs, not just thread-safe mode. -s
CFLAGS="$CFLAGS -O3 -Wall -Wpointer-arith -D_GNU_SOURCE -D_REENTRANT -fsigned-char" CFLAGS="$CFLAGS -O3 -Wall -Wpointer-arith -D_GNU_SOURCE -D_REENTRANT -fsigned-char"
@ -51,9 +50,6 @@ if test "$CC" = "gcc" ; then
AX_CFLAGS_GCC_OPTION([-fno-strict-aliasing]) AX_CFLAGS_GCC_OPTION([-fno-strict-aliasing])
AX_CFLAGS_GCC_OPTION([-funroll-all-loops]) AX_CFLAGS_GCC_OPTION([-funroll-all-loops])
AX_CFLAGS_GCC_OPTION([-funit-at-a-time]) AX_CFLAGS_GCC_OPTION([-funit-at-a-time])
else
AC_MSG_ERROR([Using $CC instead of gcc, currently not supported])
fi
# Each case has an example of what target_os contains # Each case has an example of what target_os contains
case ${target_os} in case ${target_os} in