Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save jkp/1710134 to your computer and use it in GitHub Desktop.

Select an option

Save jkp/1710134 to your computer and use it in GitHub Desktop.
From 7b510532d23df7f4b3be3f205f640835bb87672a Mon Sep 17 00:00:00 2001
From: Jamie Kirkpatrick <jkp@spotify.com>
Date: Tue, 31 Jan 2012 13:00:51 +0100
Subject: [PATCH] Fixed compilation on Lion by forcing LLVM-GCC during
compilation
---
Library/Formula/lbdb.rb | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Library/Formula/lbdb.rb b/Library/Formula/lbdb.rb
index a7d750f..9d8aa30 100644
--- a/Library/Formula/lbdb.rb
+++ b/Library/Formula/lbdb.rb
@@ -316,7 +316,7 @@ new file mode 100644
index 0000000..635f5f8
--- /dev/null
+++ b/ABQuery/ABQuery.xcodeproj/project.pbxproj
-@@ -0,0 +1,223 @@
+@@ -0,0 +1,225 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
@@ -472,6 +472,7 @@ index 0000000..635f5f8
+ GCC_MODEL_TUNING = G5;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PRECOMPILE_PREFIX_HEADER = NO;
++ GCC_VERSION = com.apple.compilers.llvmgcc42;
+ INSTALL_PATH = /usr/local/bin;
+ PRODUCT_NAME = ABQuery;
+ };
@@ -484,6 +485,7 @@ index 0000000..635f5f8
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ GCC_MODEL_TUNING = G5;
+ GCC_PRECOMPILE_PREFIX_HEADER = NO;
++ GCC_VERSION = com.apple.compilers.llvmgcc42;
+ INSTALL_PATH = /usr/local/bin;
+ PRODUCT_NAME = ABQuery;
+ };
--
1.7.9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment