[vlc-commits] configure: darwin: do not hardcode a C version

Marvin Scholz git at videolan.org
Thu Mar 26 09:09:14 CET 2020


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Wed Mar 11 02:16:14 2020 +0100| [66114e9e686f6ed74251033ba2c7ec94d1c56764] | committer: Marvin Scholz

configure: darwin: do not hardcode a C version

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=66114e9e686f6ed74251033ba2c7ec94d1c56764
---

 configure.ac | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 89afe25a30..7b5495816f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -195,9 +195,8 @@ case "${host_os}" in
 
     AX_APPEND_FLAG([-D_INTL_REDIRECT_MACROS], [CPPFLAGS])
     AX_APPEND_FLAG([-stdlib=libc++], [CXXFLAGS])
-    CFLAGS="${CFLAGS} -std=gnu11"
-    OBJCFLAGS="${OBJCFLAGS} -std=gnu11 -Werror=partial-availability"
     LDFLAGS="${LDFLAGS} -Wl,-headerpad_max_install_names"
+    OBJCFLAGS="${OBJCFLAGS} -Werror=partial-availability"
     VLC_ADD_LIBS([libvlc vlc],[-Wl,-undefined,dynamic_lookup,-framework,AppKit])
     VLC_ADD_LIBS([libvlccore],[-Wl,-framework,CoreFoundation,-framework,CoreServices])
 



More information about the vlc-commits mailing list