1
0

patch-configure 575 B

1234567891011121314151617181920212223
  1. --- socat-1.7.2.4.orig/configure 2014-03-09 20:57:51.000000000 +0100
  2. +++ socat-1.7.2.4/configure 2014-03-22 12:20:13.000000000 +0100
  3. @@ -3347,18 +3347,8 @@ fi
  4. # fail
  5. -
  6. -if test "$CC" = "gcc"; then
  7. - CFLAGS="$CFLAGS -D_GNU_SOURCE -Wall -Wno-parentheses"
  8. - ERRONWARN="-Werror -O0"
  9. -elif test "$CC" = "clang"; then
  10. - CFLAGS="$CFLAGS -D_GNU_SOURCE -Wall -Wno-parentheses"
  11. - ERRONWARN="-Werror -O0"
  12. -#elif Sun Studio
  13. -# ERRONWARN="-errwarn"
  14. -else
  15. - ERRONWARN=
  16. -fi
  17. +CFLAGS="$CFLAGS -D_GNU_SOURCE -Wall -Wno-parentheses"
  18. +ERRONWARN="-Werror -O0"
  19. export CFLAGS