[vlc-devel] [PATCH 6/7] extras: export a build system compiler in the macOS script to fix nettle compilation with latest Xcode

Felix Paul Kühne fkuehne at videolan.org
Sun Nov 29 20:12:38 CET 2020


From: Felix Paul Kühne <felix at feepk.net>

---
 extras/package/macosx/build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extras/package/macosx/build.sh b/extras/package/macosx/build.sh
index 44b16ce59b..b121864a25 100755
--- a/extras/package/macosx/build.sh
+++ b/extras/package/macosx/build.sh
@@ -145,6 +145,7 @@ fi
 export AR="`xcrun --find ar`"
 export AS="`xcrun --find as`"
 export CC="`xcrun --find clang`"
+export CC_FOR_BUILD="`xcrun --find clang` -Wno-error=implicit-function-declaration"
 export CXX="`xcrun --find clang++`"
 export LD="`xcrun --find ld`"
 export NM="`xcrun --find nm`"
@@ -155,7 +156,6 @@ export STRIP="`xcrun --find strip`"
 export SDKROOT
 export PATH="${vlcroot}/extras/tools/build/bin:${vlcroot}/contrib/${TRIPLET}/bin:$python3Path:${VLC_PATH}:/bin:/sbin:/usr/bin:/usr/sbin"
 
-
 # Select avcodec flavor to compile contribs with
 export USE_FFMPEG=1
 
-- 
2.24.3 (Apple Git-128)



More information about the vlc-devel mailing list