Commit fcc3d395 authored by Rafaël Carré's avatar Rafaël Carré Committed by Jean-Baptiste Kempf

contrib: xcode3: select ARCHS to be built

(cherry picked from commit 49bbc50cc33eee44db37fe7bacb2e261a4f29168)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 4f4db7c3
...@@ -128,6 +128,7 @@ endif ...@@ -128,6 +128,7 @@ endif
XCODE_FLAGS = -sdk macosx$(OSX_VERSION) XCODE_FLAGS = -sdk macosx$(OSX_VERSION)
ifeq ($(shell xcodebuild -version 2>/dev/null | tee /dev/null|head -1|cut -d\ -f2|cut -d. -f1),3) ifeq ($(shell xcodebuild -version 2>/dev/null | tee /dev/null|head -1|cut -d\ -f2|cut -d. -f1),3)
XCODE_FLAGS += ARCHS=$(ARCH)
# XCode 3 doesn't support -arch # XCode 3 doesn't support -arch
else else
XCODE_FLAGS += -arch $(ARCH) XCODE_FLAGS += -arch $(ARCH)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment