mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-01-03 14:56:34 -05:00
Fix: Do not accept unknown flags with clang
This commit is contained in:
parent
2a21bb8bfa
commit
e55f42c528
@ -22,6 +22,9 @@ AS_IF([test "${ac_cv_prog_cc_c99}" = "no"], [
|
||||
|
||||
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])
|
||||
|
||||
AC_SYS_LARGEFILE
|
||||
AC_DEFINE([_GNU_SOURCE], 1, [Define to include GNU extensions to POSIX])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user