By default clang only logs warnings for unsupported command line args

This commit is contained in:
Jeremy Lakeman 2018-03-26 14:45:11 +10:30
parent 3a56355111
commit 262df2804d

View File

@ -148,7 +148,7 @@ AS_IF([test "x$enable_xcode_sdk" != x], [ dnl
AS_IF([test "x$RANLIB" = x:], [AC_MSG_ERROR([Archive indexer not found: ranlib])])
dnl C preprocessor option to support cross-compiling.
AX_APPEND_COMPILE_FLAGS(["-arch $host_cpu"], [CPPFLAGS])
AX_APPEND_COMPILE_FLAGS(["-arch $host_cpu"], [CPPFLAGS], ["-Werror"])
])
dnl Check for C assembler.