[vlc-commits] configure: use the same C/C++ compiler error flags in Objective-C
Marvin Scholz
git at videolan.org
Thu Mar 26 09:09:04 CET 2020
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Wed Mar 11 01:27:45 2020 +0100| [a2afcfcee69f2efa331f19c9fce41d33b41ae054] | committer: Marvin Scholz
configure: use the same C/C++ compiler error flags in Objective-C
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a2afcfcee69f2efa331f19c9fce41d33b41ae054
---
configure.ac | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configure.ac b/configure.ac
index 9bd1255838..0a43ce851b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -111,10 +111,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
More information about the vlc-commits
mailing list