[vlc-commits] contrib: don't use -arch flag of xcodebuild

Rafaël Carré git at videolan.org
Fri Nov 25 23:32:34 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Fri Nov 25 17:30:22 2011 -0500| [7564f8f79f1d3e3a7145e9a23b7fe3043354891f] | committer: Rafaël Carré

contrib: don't use -arch flag of xcodebuild

It's only available since XCode4 on MacOSX 10.6

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7564f8f79f1d3e3a7145e9a23b7fe3043354891f
---

 contrib/src/bghudappkit/rules.mak |    2 +-
 contrib/src/growl/rules.mak       |    2 +-
 contrib/src/sparkle/rules.mak     |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/contrib/src/bghudappkit/rules.mak b/contrib/src/bghudappkit/rules.mak
index 0f39e04..6032cb5 100644
--- a/contrib/src/bghudappkit/rules.mak
+++ b/contrib/src/bghudappkit/rules.mak
@@ -20,7 +20,7 @@ bghudappkit: bghudappkit-git.tar.xz .sum-bghudappkit
 	$(MOVE)
 
 .bghudappkit: bghudappkit
-	cd $< && xcodebuild -arch $(ARCH) -sdk macosx$(OSX_VERSION)
+	cd $< && xcodebuild -sdk macosx$(OSX_VERSION)
 	install_name_tool -change @loader_path/../../../../../../../BGHUDAppKit.framework/Versions/A/BGHUDAppKit \
 								@loader_path/../../../../Versions/A/BGHUDAppKit \
 		$</build/Release/BGHUDAppKit.framework/Resources/BGHUDAppKitPlugin.ibplugin/Contents/MacOS/BGHUDAppKitPlugin
diff --git a/contrib/src/growl/rules.mak b/contrib/src/growl/rules.mak
index 6f3dc9e..292e9a8 100644
--- a/contrib/src/growl/rules.mak
+++ b/contrib/src/growl/rules.mak
@@ -23,6 +23,6 @@ growl: growl-$(GROWL_VERSION).tar.bz2 .sum-growl
 	touch $@
 
 .growl: growl
-	cd $< && xcodebuild -target Growl.framework -configuration Release -arch $(ARCH)
+	cd $< && xcodebuild -target Growl.framework -configuration Release
 	cd $< && cp -R -L build/Release/Growl.framework "$(PREFIX)"
 	touch $@
diff --git a/contrib/src/sparkle/rules.mak b/contrib/src/sparkle/rules.mak
index aa4b138..d9bafcb 100644
--- a/contrib/src/sparkle/rules.mak
+++ b/contrib/src/sparkle/rules.mak
@@ -21,6 +21,6 @@ sparkle: sparkle-$(SPARKLE_VERSION).zip .sum-sparkle
 	touch $@
 
 .sparkle: sparkle
-	cd $</Extras/Source\ Code && $(MAKE) && xcodebuild -arch $(ARCH)
+	cd $</Extras/Source\ Code && $(MAKE) && xcodebuild
 	cd $< && cp -R -L Extras/Source\ Code/build/release/Sparkle.framework "$(PREFIX)"
 	touch $@



More information about the vlc-commits mailing list