[vlc-commits] contrib: sanitize default OSX environment settings
Felix Paul Kühne
git at videolan.org
Tue Apr 9 18:51:44 CEST 2013
vlc/vlc-2.0 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Apr 9 18:51:39 2013 +0200| [da489c12add0aa4a592e142e7afbaa373ef9d227] | committer: Felix Paul Kühne
contrib: sanitize default OSX environment settings
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=da489c12add0aa4a592e142e7afbaa373ef9d227
---
contrib/src/main.mak | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 70f4a5c..04eb046 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -115,12 +115,12 @@ endif
ifdef HAVE_MACOSX
MIN_OSX_VERSION=10.5
-CC=gcc-4.2
-CXX=g++-4.2
-AR=ar
-LD=ld
-STRIP=strip
-RANLIB=ranlib
+CC=xcrun llvm-gcc-4.2
+CXX=xcrun llvm-g++-4.2
+AR=xcrun ar
+LD=xcrun ld
+STRIP=xcrun strip
+RANLIB=xcrun ranlib
EXTRA_CFLAGS += -isysroot $(MACOSX_SDK) -mmacosx-version-min=$(MIN_OSX_VERSION) -DMACOSX_DEPLOYMENT_TARGET=$(MIN_OSX_VERSION)
EXTRA_LDFLAGS += -Wl,-syslibroot,$(MACOSX_SDK) -mmacosx-version-min=$(MIN_OSX_VERSION) -isysroot $(MACOSX_SDK) -DMACOSX_DEPLOYMENT_TARGET=$(MIN_OSX_VERSION)
ifeq ($(ARCH),x86_64)
More information about the vlc-commits
mailing list