[vlc-commits] darwin: explicitly enforce c++11 as language flavor
Felix Paul Kühne
git at videolan.org
Fri Jun 26 20:27:00 CEST 2015
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri Jun 26 19:07:39 2015 +0200| [1108dfcb734e4e76f9773458a76d732f074edd49] | committer: Felix Paul Kühne
darwin: explicitly enforce c++11 as language flavor
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1108dfcb734e4e76f9773458a76d732f074edd49
---
configure.ac | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index e7fc001..e0810f1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -167,10 +167,11 @@ case "${host_os}" in
SYS=darwin
CFLAGS="${CFLAGS} -D_INTL_REDIRECT_MACROS -std=gnu11 ${ARCH_flag}"
- CXXFLAGS="${CXXFLAGS} -D_INTL_REDIRECT_MACROS -stdlib=libc++ ${ARCH_flag}"
+ CXX="${CXX} -stdlib=libc++ -std=c++11"
+ CXXFLAGS="${CXXFLAGS} -D_INTL_REDIRECT_MACROS ${ARCH_flag}"
CPPFLAGS="${CPPFLAGS} ${ARCH_flag}"
OBJCFLAGS="${OBJCFLAGS} -D_INTL_REDIRECT_MACROS -std=gnu11 ${ARCH_flag}"
- LDFLAGS="${LDFLAGS} -lc++ -Wl,-headerpad_max_install_names ${ARCH_flag}"
+ LDFLAGS="${LDFLAGS} -Wl,-headerpad_max_install_names ${ARCH_flag}"
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