[sword-svn] r2648 - in trunk/bindings/objc: ObjCSword.xcodeproj build_sword
mdbergmann at crosswire.org
mdbergmann at crosswire.org
Sun Jul 24 08:09:27 MST 2011
Author: mdbergmann
Date: 2011-07-24 08:09:27 -0700 (Sun, 24 Jul 2011)
New Revision: 2648
Modified:
trunk/bindings/objc/ObjCSword.xcodeproj/project.pbxproj
trunk/bindings/objc/build_sword/build_mac_sword.sh
Log:
readded ppc archiecture for Xcode project.
Modified: trunk/bindings/objc/ObjCSword.xcodeproj/project.pbxproj
===================================================================
--- trunk/bindings/objc/ObjCSword.xcodeproj/project.pbxproj 2011-07-23 17:43:26 UTC (rev 2647)
+++ trunk/bindings/objc/ObjCSword.xcodeproj/project.pbxproj 2011-07-24 15:09:27 UTC (rev 2648)
@@ -727,7 +727,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
- ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
+ ARCHS = "$(NATIVE_ARCH_ACTUAL)";
COPY_PHASE_STRIP = NO;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
@@ -774,7 +774,10 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
- ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
+ ARCHS = (
+ ppc,
+ "$(ARCHS_STANDARD_32_64_BIT)",
+ );
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
Modified: trunk/bindings/objc/build_sword/build_mac_sword.sh
===================================================================
--- trunk/bindings/objc/build_sword/build_mac_sword.sh 2011-07-23 17:43:26 UTC (rev 2647)
+++ trunk/bindings/objc/build_sword/build_mac_sword.sh 2011-07-24 15:09:27 UTC (rev 2648)
@@ -117,7 +117,7 @@
if [ $DEBUG -eq 1 ]; then
export CFLAGS="-O0 -g -arch ppc -mmacosx-version-min=10.5 -isysroot $SDK -I$SDK/usr/include -I$ICUPATH/include"
else
- export CFLAGS="-O2 -g0 -arch ppc -mmacosx-version-min=10.5 -isysroot $SDK -I$SDK/usr/include -I$ICUPATH/include"
+ export CFLAGS="-O2 -g0 -arch ppc -mmacosx-version-min=10.5 -isysroot $SDK -I$SDK/usr/include -I$ICUPATH/include"
fi
export CXXFLAGS="$CFLAGS"
export LDFLAGS="-isysroot $SDK -Wl,-syslibroot,$SDK"
@@ -147,7 +147,7 @@
if [ $DEBUG -eq 1 ]; then
export CFLAGS="-O0 -g -arch i686 -mmacosx-version-min=10.5 -isysroot $SDK -I$SDK/usr/include -I$ICUPATH/include"
else
- export CFLAGS="-O2 -g0 -arch i686 -mmacosx-version-min=10.5 -isysroot $SDK -I$SDK/usr/include -I$ICUPATH/include"
+ export CFLAGS="-O2 -g0 -arch i686 -mmacosx-version-min=10.5 -isysroot $SDK -I$SDK/usr/include -I$ICUPATH/include"
fi
export CXXFLAGS="$CFLAGS"
export LDFLAGS="-isysroot $SDK -Wl,-syslibroot,$SDK"
@@ -176,7 +176,7 @@
if [ $DEBUG -eq 1 ]; then
export CFLAGS="-O0 -g -arch x86_64 -mmacosx-version-min=10.5 -isysroot $SDK -I$SDK/usr/include -I$ICUPATH/include"
else
- export CFLAGS="-O2 -g0 -arch x86_64 -mmacosx-version-min=10.5 -isysroot $SDK -I$SDK/usr/include -I$ICUPATH/include"
+ export CFLAGS="-O2 -g0 -arch x86_64 -mmacosx-version-min=10.5 -isysroot $SDK -I$SDK/usr/include -I$ICUPATH/include"
fi
export CXXFLAGS="$CFLAGS"
export LDFLAGS="-isysroot $SDK -Wl,-syslibroot,$SDK"
@@ -201,5 +201,6 @@
lipo -create $PPC_LIB_EXPORT $INTEL_LIB_EXPORT $INTEL64_LIB_EXPORT -output $RESULTPREFIX/lib/lib$APP-ub.a
fi
+
# run runlib to update the library content
#ranlib $RESULTPREFIX/lib/*
More information about the sword-cvs
mailing list