1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Fix: Correct the order of AX_APPEND_COMPILE_FLAGS

This commit is contained in:
Marvin Scholz 2018-10-17 12:13:03 +02:00
parent eb66a682c0
commit 482ffaa6f6

View File

@ -20,11 +20,11 @@ AS_IF([test "${ac_cv_prog_cc_c99}" = "no"], [
AC_MSG_ERROR([No C99 compiler found!]) AC_MSG_ERROR([No C99 compiler found!])
]) ])
AX_APPEND_COMPILE_FLAGS([-Wall -Wextra -Wno-unused-parameter])
dnl With clang, we want an error for unknown flags instead of just warn dnl With clang, we want an error for unknown flags instead of just warn
AX_APPEND_COMPILE_FLAGS([-Werror=unknown-warning-option -Werror=invalid-command-line-argument]) AX_APPEND_COMPILE_FLAGS([-Werror=unknown-warning-option -Werror=invalid-command-line-argument])
AX_APPEND_COMPILE_FLAGS([-Wall -Wextra -Wno-unused-parameter])
AC_SYS_LARGEFILE AC_SYS_LARGEFILE
AC_DEFINE([_GNU_SOURCE], 1, [Define to include GNU extensions to POSIX]) AC_DEFINE([_GNU_SOURCE], 1, [Define to include GNU extensions to POSIX])