You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
540 B

  1. --- a/configure.in
  2. +++ b/configure.in
  3. @@ -41,7 +41,7 @@ AC_CHECK_PROG(AR, ar, ar, gar)
  4. # fail
  5. AC_LANG_COMPILER_REQUIRE()
  6. -if test "$CC" = "gcc"; then
  7. +if test "$GCC" = yes; then
  8. CFLAGS="$CFLAGS -D_GNU_SOURCE -Wall -Wno-parentheses"
  9. ERRONWARN="-Werror -O0"
  10. elif test "$CC" = "clang"; then
  11. --- a/configure
  12. +++ b/configure
  13. @@ -3348,7 +3348,7 @@ fi
  14. -if test "$CC" = "gcc"; then
  15. +if test "$GCC" = yes; then
  16. CFLAGS="$CFLAGS -D_GNU_SOURCE -Wall -Wno-parentheses"
  17. ERRONWARN="-Werror -O0"
  18. elif test "$CC" = "clang"; then