Bug 674647 - Add a file for setting the common settings used when building a non universal binary for 10.5. r=armenzg,ted
authorRafael Ávila de Espíndola <respindola@mozilla.com>
Wed, 27 Jul 2011 17:32:00 -0400
changeset 74112 5b62f52daa1bf6e7c7f5902e5ff052fd460389c0
parent 74111 7b8bab56ab936509d6a25c274b49c0a894a86f1d
child 74113 2b05e85795d113d858534304bf324cde44b97254
push id2
push userbsmedberg@mozilla.com
push dateFri, 19 Aug 2011 14:38:13 +0000
reviewersarmenzg, ted
bugs674647
milestone8.0a1
Bug 674647 - Add a file for setting the common settings used when building a non universal binary for 10.5. r=armenzg,ted
build/macosx/mozconfig.leopard
new file mode 100644
--- /dev/null
+++ b/build/macosx/mozconfig.leopard
@@ -0,0 +1,13 @@
+if test -z "$CC" ; then
+   CC=gcc-4.2
+fi
+
+if test -z "$CXX" ; then
+   CXX=g++-4.2
+fi
+
+# We do 32 bit builds for leopard
+CC="$CC -arch i386"
+CXX="$CXX -arch i386"
+
+ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.5.sdk