[vlc-devel] commit: macosx/framework: Fix the configure ARCHS autodetection script so that we are shell independant (setenv vs export), and force to build only the selected ARCHS. (Pierre d' Herbemont )
git version control
git at videolan.org
Thu Oct 15 00:01:35 CEST 2009
vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Thu Oct 15 00:00:46 2009 +0200| [ca7b627d97a6358e2ab5866113335c78750a6a66] | committer: Pierre d'Herbemont
macosx/framework: Fix the configure ARCHS autodetection script so that we are shell independant (setenv vs export), and force to build only the selected ARCHS.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ca7b627d97a6358e2ab5866113335c78750a6a66
---
.../framework/VLCKit.xcodeproj/project.pbxproj | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/projects/macosx/framework/VLCKit.xcodeproj/project.pbxproj b/projects/macosx/framework/VLCKit.xcodeproj/project.pbxproj
index 709fe99..8f6ffa1 100644
--- a/projects/macosx/framework/VLCKit.xcodeproj/project.pbxproj
+++ b/projects/macosx/framework/VLCKit.xcodeproj/project.pbxproj
@@ -516,7 +516,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "if test \"$ACTION\" = \"clean\"; then\n rm -Rf $SYMROOT/vlc_build_dir\n exit 0\nfi\n\ntop_srcdir=`pwd`/../../..\n\nif test \"$ARCHS\" = \"x86_64\"; then\n setenv CFLAGS -m64\n setenv CXXFLAGS -m64\n setenv CPPFLAGS -m64\n setenv OBJCFLAGS -m64\nfi\nif test \"$ARCHS\" = \"i386\"; then\n setenv CFLAGS -m32\n setenv CXXFLAGS -m32\n setenv CPPFLAGS -m32\n setenv OBJCFLAGS -m32\nfi\n\nmkdir -p $SYMROOT/vlc_build_dir\ncd $SYMROOT/vlc_build_dir && $top_srcdir/configure --disable-nls --enable-debug --with-macosx-sdk=$SDKROOT\n";
+ shellScript = "if test \"$ACTION\" = \"clean\"; then\n rm -Rf $SYMROOT/vlc_build_dir\n exit 0\nfi\n\ntop_srcdir=`pwd`/../../..\n\nmkdir -p $SYMROOT/vlc_build_dir\ncd $SYMROOT/vlc_build_dir\nCFLAGS=\"-arch $ARCHS\" CXXFLAGS=\"-arch $ARCHS\" CPPFLAGS=\"-arch $ARCHS\" OBJCFLAGS=\"-arch $ARCHS\" $top_srcdir/configure --disable-nls --enable-debug --with-macosx-sdk=$SDKROOT\n";
showEnvVarsInLog = 0;
};
EF78BD2E0CAEEF9500354E6E /* ShellScript */ = {
@@ -689,6 +689,7 @@
GCC_VERSION = com.apple.compilers.llvmgcc42;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
+ ONLY_ACTIVE_ARCH = YES;
PREBINDING = NO;
SDKROOT = "";
};
@@ -702,6 +703,7 @@
GCC_VERSION = com.apple.compilers.llvmgcc42;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
+ ONLY_ACTIVE_ARCH = YES;
PREBINDING = NO;
SDKROOT = "";
};
More information about the vlc-devel
mailing list