[vlc-devel] [PATCH 09/14] configure: darwin: add -D_INTL_REDIRECT_MACROS to CPPFLAGS
Marvin Scholz
epirat07 at gmail.com
Wed Mar 11 13:37:30 CET 2020
---
configure.ac | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index 12e16e3641..c6b51f88d9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -169,11 +169,10 @@ case "${host_os}" in
;;
esac
- CFLAGS="${CFLAGS} -D_INTL_REDIRECT_MACROS -std=gnu11"
+ AX_APPEND_FLAG([-D_INTL_REDIRECT_MACROS], [CPPFLAGS])
+ CFLAGS="${CFLAGS} -std=gnu11"
CXX="${CXX} -stdlib=libc++ -std=c++11"
- CXXFLAGS="${CXXFLAGS} -D_INTL_REDIRECT_MACROS"
- CPPFLAGS="${CPPFLAGS}"
- OBJCFLAGS="${OBJCFLAGS} -D_INTL_REDIRECT_MACROS -std=gnu11 -Werror=partial-availability"
+ OBJCFLAGS="${OBJCFLAGS} -std=gnu11 -Werror=partial-availability"
LDFLAGS="${LDFLAGS} -Wl,-headerpad_max_install_names"
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