From f478476df7ed1e8d262c8df6a4955fc4356774a1 Mon Sep 17 00:00:00 2001 From: Uwe Hees Date: Wed, 27 Apr 2011 22:34:51 +0200 Subject: [PATCH] Set compiler to LLVM GCC4.2 and build archs to Standard (32bit universal) --- GitX.xcodeproj/project.pbxproj | 6 +++--- build_libgit2.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/GitX.xcodeproj/project.pbxproj b/GitX.xcodeproj/project.pbxproj index 4fb3606..d137618 100644 --- a/GitX.xcodeproj/project.pbxproj +++ b/GitX.xcodeproj/project.pbxproj @@ -1333,7 +1333,6 @@ isa = PBXProject; buildConfigurationList = 26FC0A880875C7B200E6366F /* Build configuration list for PBXProject "GitX" */; compatibilityVersion = "Xcode 3.1"; - developmentRegion = English; hasScannedForEncodings = 1; knownRegions = ( English, @@ -1830,9 +1829,10 @@ 26FC0A8A0875C7B200E6366F /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + GCC_C_LANGUAGE_STANDARD = c99; GCC_ENABLE_OBJC_GC = required; - GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + GCC_VERSION = com.apple.compilers.llvmgcc42; GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_UNUSED_VARIABLE = YES; INFOPLIST_PREFIX_HEADER = $PROJECT_TEMP_DIR/revision; diff --git a/build_libgit2.sh b/build_libgit2.sh index 27f4346..c53f8de 100755 --- a/build_libgit2.sh +++ b/build_libgit2.sh @@ -18,7 +18,7 @@ buildAction () { git submodule update cd libgit2 rm -f libgit2.a - make CFLAGS="-arch i386 -arch x86_64" + make CFLAGS="-arch i386 -arch ppc" ranlib libgit2.a else echo "error: Not a git repository."