Commit 92bf46e0 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

configure: Prevent clang from accepting unknown compile flags

parent 38bef9cd
......@@ -94,6 +94,10 @@ AS_IF([test -n "${with_binary_version}"],[
[Binary specific version])
dnl Prevent clang from accepting unknown flags with a mere warning
AX_APPEND_COMPILE_FLAGS([-Werror=unknown-warning-option -Werror=invalid-command-line-argument], [CFLAGS])
AX_APPEND_COMPILE_FLAGS([-Werror=unknown-warning-option -Werror=invalid-command-line-argument], [CXXFLAGS])
dnl Check the operating system
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