[vlc-devel] [PATCH 02/14] configure: add unknown args error flag to OBJCFLAGS too
Marvin Scholz
epirat07 at gmail.com
Wed Mar 11 13:37:23 CET 2020
---
configure.ac | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configure.ac b/configure.ac
index ca3f3e1a93..d10d30a3a2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -87,10 +87,12 @@ dnl Prevent clang from accepting unknown flags with a mere warning
AX_CHECK_COMPILE_FLAG([-Werror=invalid-command-line-argument], [
AX_APPEND_FLAG([-Werror=invalid-command-line-argument], [CFLAGS])
AX_APPEND_FLAG([-Werror=invalid-command-line-argument], [CXXFLAGS])
+ AX_APPEND_FLAG([-Werror=invalid-command-line-argument], [OBJCFLAGS])
])
AX_CHECK_COMPILE_FLAG([-Werror=unknown-warning-option], [
AX_APPEND_FLAG([-Werror=unknown-warning-option], [CFLAGS])
AX_APPEND_FLAG([-Werror=unknown-warning-option], [CXXFLAGS])
+ AX_APPEND_FLAG([-Werror=unknown-warning-option], [OBJCFLAGS])
])
dnl
--
2.21.1 (Apple Git-122.3)
More information about the vlc-devel
mailing list