Skip to content

Commit f478476

Browse files
committed
Set compiler to LLVM GCC4.2 and build archs to Standard (32bit universal)
1 parent f6e6968 commit f478476

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

GitX.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,7 +1333,6 @@
13331333
isa = PBXProject;
13341334
buildConfigurationList = 26FC0A880875C7B200E6366F /* Build configuration list for PBXProject "GitX" */;
13351335
compatibilityVersion = "Xcode 3.1";
1336-
developmentRegion = English;
13371336
hasScannedForEncodings = 1;
13381337
knownRegions = (
13391338
English,
@@ -1830,9 +1829,10 @@
18301829
26FC0A8A0875C7B200E6366F /* Release */ = {
18311830
isa = XCBuildConfiguration;
18321831
buildSettings = {
1833-
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
1832+
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
1833+
GCC_C_LANGUAGE_STANDARD = c99;
18341834
GCC_ENABLE_OBJC_GC = required;
1835-
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
1835+
GCC_VERSION = com.apple.compilers.llvmgcc42;
18361836
GCC_WARN_ABOUT_RETURN_TYPE = YES;
18371837
GCC_WARN_UNUSED_VARIABLE = YES;
18381838
INFOPLIST_PREFIX_HEADER = $PROJECT_TEMP_DIR/revision;

build_libgit2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ buildAction () {
1818
git submodule update
1919
cd libgit2
2020
rm -f libgit2.a
21-
make CFLAGS="-arch i386 -arch x86_64"
21+
make CFLAGS="-arch i386 -arch ppc"
2222
ranlib libgit2.a
2323
else
2424
echo "error: Not a git repository."

0 commit comments

Comments
 (0)