[vlc-commits] configure/darwin: make use of gnu11 instead of gnu99, deploy libc++
Felix Paul Kühne
git at videolan.org
Mon Jun 22 17:46:50 CEST 2015
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Jun 22 17:46:04 2015 +0200| [75dc638cd1e74df34f951cdbe7f1c77c74794301] | committer: Felix Paul Kühne
configure/darwin: make use of gnu11 instead of gnu99, deploy libc++
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=75dc638cd1e74df34f951cdbe7f1c77c74794301
---
configure.ac | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index c401f3f..3f6589c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -166,11 +166,11 @@ case "${host_os}" in
esac
SYS=darwin
- CFLAGS="${CFLAGS} -D_INTL_REDIRECT_MACROS ${ARCH_flag}"
- CXXFLAGS="${CXXFLAGS} -D_INTL_REDIRECT_MACROS ${ARCH_flag}"
+ CFLAGS="${CFLAGS} -D_INTL_REDIRECT_MACROS -std=gnu11 ${ARCH_flag}"
+ CXXFLAGS="${CXXFLAGS} -D_INTL_REDIRECT_MACROS -stdlib=libc++ ${ARCH_flag}"
CPPFLAGS="${CPPFLAGS} ${ARCH_flag}"
- OBJCFLAGS="${OBJCFLAGS} -D_INTL_REDIRECT_MACROS -std=gnu99 ${ARCH_flag}"
- LDFLAGS="${LDFLAGS} -Wl,-headerpad_max_install_names ${ARCH_flag}"
+ OBJCFLAGS="${OBJCFLAGS} -D_INTL_REDIRECT_MACROS -std=gnu11 ${ARCH_flag}"
+ LDFLAGS="${LDFLAGS} -lc++ -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