Bug 778035 - Add extra else block to set CC/CXX for systems that don't have clang installed. (m-c) r=ted
authorEdmund Wong <ewong@pw-wspx.org>
Fri, 10 Aug 2012 09:11:49 +0800
changeset 101978 08e0e3b95f03ad78cb3eb1e7cd00b918838cdad3
parent 101977 9efc7b150f4178452d9f159bcbe2b0cda1979362
child 102014 4e150530c925a6b2143f82e9c0e81b7425e665d9
push id23259
push userewong@pw-wspx.org
push dateFri, 10 Aug 2012 01:17:56 +0000
treeherdermozilla-central@08e0e3b95f03 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs778035
milestone17.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 778035 - Add extra else block to set CC/CXX for systems that don't have clang installed. (m-c) r=ted
build/macosx/common
--- a/build/macosx/common
+++ b/build/macosx/common
@@ -1,12 +1,17 @@
 if [ -d "$topsrcdir/clang" ]; then
     # mozilla-central based build
     export CC=$topsrcdir/clang/bin/clang
     export CXX=$topsrcdir/clang/bin/clang++
 elif [ -d "$topsrcdir/../clang" ]; then
     # comm-central based build
     export CC=$topsrcdir/../clang/bin/clang
     export CXX=$topsrcdir/../clang/bin/clang++
+else
+    # SeaMonkey does not have clang installed so need
+    # to set CC and CXX here.
+    export CC=/usr/bin/gcc-4.2
+    export CXX=/usr/bin/g++-4.2
 fi
 
 ac_add_options --enable-stdcxx-compat
 ac_add_options --with-ccache