1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-18 00:53:25 +00:00

Revert gcc check to reenable cross compiling

This commit is contained in:
Gerhard Rieger 2014-11-23 17:27:21 +01:00
parent 522bb45479
commit 6f6d7ccb86
3 changed files with 8 additions and 4 deletions

View file

@ -41,7 +41,7 @@ AC_CHECK_PROG(AR, ar, ar, gar)
# fail
AC_LANG_COMPILER_REQUIRE()
if test "$CC" = "gcc"; then
if test "$GCC" = yes; then
CFLAGS="$CFLAGS -D_GNU_SOURCE -Wall -Wno-parentheses"
ERRONWARN="-Werror -O0"
elif test "$CC" = "clang"; then