Commit 482ffaa6 authored by Marvin Scholz's avatar Marvin Scholz

Fix: Correct the order of AX_APPEND_COMPILE_FLAGS

parent eb66a682
Pipeline #386 failed with stage
in 12 seconds
......@@ -20,11 +20,11 @@ AS_IF([test "${ac_cv_prog_cc_c99}" = "no"], [
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
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_DEFINE([_GNU_SOURCE], 1, [Define to include GNU extensions to POSIX])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment