We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f32844b commit 9bfd4d2Copy full SHA for 9bfd4d2
configure.ac
@@ -1388,9 +1388,9 @@ fi
1388
# required for gcc, but some compilers such as clang need it.
1389
AC_DEFUN([ACL_CHECK_ADD_COMPILE_FLAGS], [
1390
old_cflags="$CFLAGS"
1391
- CFLAGS="$1 -Werror $CFLAGS"
+ CFLAGS="-Werror $CFLAGS $1"
1392
AC_MSG_CHECKING([whether the compiler accepts $1])
1393
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], [AC_MSG_RESULT([yes])]; CFLAGS="$1 $old_cflags",
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], [AC_MSG_RESULT([yes])]; CFLAGS="$old_cflags $1",
1394
[AC_MSG_RESULT([no]); CFLAGS="$old_cflags"])]
1395
)
1396
0 commit comments