[vlc-devel] [PATCH 12/14] configure: darwin: do not hardcode a C version

Marvin Scholz epirat07 at gmail.com
Wed Mar 11 13:37:33 CET 2020


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

diff --git a/configure.ac b/configure.ac
index 72b1a8e8ed..8deec9be9f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -171,9 +171,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])
 
-- 
2.21.1 (Apple Git-122.3)



More information about the vlc-devel mailing list