Bug 768405 - Adjust Clang path in ASan mozconfig for use with tooltool
authorChristian Holler <choller@mozilla.com>
Tue, 26 Jun 2012 12:26:57 -0400
changeset 97704 c74442257e60fa4eadbce075ac42de871efff7cb
parent 97703 610161cc263b291c2de4f02e88c964cbcd42c7e4
child 97705 12d4fdf528801ea2b0e824c5658d407b9601a168
push id22993
push useremorley@mozilla.com
push dateWed, 27 Jun 2012 10:31:27 +0000
treeherdermozilla-central@1a56f1f011c9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs768405
milestone16.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 768405 - Adjust Clang path in ASan mozconfig for use with tooltool
build/unix/mozconfig.asan
--- a/build/unix/mozconfig.asan
+++ b/build/unix/mozconfig.asan
@@ -1,11 +1,11 @@
-# Use Clang r155417
-export CC="/tools/clang-3.0/bin/clang -fgnu89-inline"
-export CXX="/tools/clang-3.0/bin/clang++"
+# Use Clang as specified in manifest
+export CC="$topsrcdir/clang/bin/clang -fgnu89-inline"
+export CXX="$topsrcdir/clang/bin/clang++"
 
 # Mandatory flags for ASan
 export ASANFLAGS="-faddress-sanitizer -Dxmalloc=myxmalloc -fPIC"
 export CFLAGS="$ASANFLAGS"
 export CXXFLAGS="$ASANFLAGS"
 export LDFLAGS="-faddress-sanitizer"
 
 # Enable ASan specific code and build workarounds