Bug 1208787 - Enable static analysis checks by default on OSX cross builds; r=ted
authorEhsan Akhgari <ehsan@mozilla.com>
Sat, 26 Sep 2015 17:27:50 -0400
changeset 265335 e51618f6ba8985e5553e2ae284341d2ebdf34f00
parent 265334 026a924b922898e529dfa8c96775580f94dd9475
child 265336 480c75fccf4078b40da5476ba645b98ca0b7d631
push id29462
push usercbook@mozilla.com
push dateThu, 01 Oct 2015 10:39:47 +0000
treeherdermozilla-central@2c1fb007137d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs1208787
milestone44.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 1208787 - Enable static analysis checks by default on OSX cross builds; r=ted
build/macosx/cross-mozconfig.common
--- a/build/macosx/cross-mozconfig.common
+++ b/build/macosx/cross-mozconfig.common
@@ -41,11 +41,14 @@ export DMG_TOOL=$topsrcdir/dmg/dmg
 export HOST_CC="$topsrcdir/clang/bin/clang"
 export HOST_CXX="$topsrcdir/clang/bin/clang++"
 export HOST_CPP="$topsrcdir/clang/bin/clang -E"
 export HOST_LDFLAGS="-g"
 
 ac_add_options --target=x86_64-apple-darwin
 ac_add_options --with-macos-private-frameworks=$CROSS_PRIVATE_FRAMEWORKS
 
+# Enable static analysis checks by default on OSX cross builds.
+ac_add_options --enable-clang-plugin
+
 . "$topsrcdir/build/mozconfig.cache"
 
 export SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE=/builds/crash-stats-api.token