Bug 1292558 - Skip sanitizer option detection when doing an artifact build. r=mshal
authorChris Manchester <cmanchester@mozilla.com>
Fri, 05 Aug 2016 10:18:49 -0700
changeset 308430 6e902e21e9b3943df42852a1e9424df5eedb970d
parent 308429 cf64f3ec680ba27c5d158ccbbda6763dbe488634
child 308457 c008ecf88273d3965b84e34e6c33d085c69c319c
push id20245
push userkwierso@gmail.com
push dateSun, 07 Aug 2016 07:18:09 +0000
treeherderfx-team@d42aacfe34af [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmshal
bugs1292558
milestone51.0a1
Bug 1292558 - Skip sanitizer option detection when doing an artifact build. r=mshal MozReview-Commit-ID: DjHBqK2TMQT
old-configure.in
--- a/old-configure.in
+++ b/old-configure.in
@@ -668,17 +668,19 @@ dnl ====================================
 if test -n "${CLANG_CC}${CLANG_CL}"; then
     _WARNINGS_CFLAGS="-Qunused-arguments ${_WARNINGS_CFLAGS}"
     CPPFLAGS="-Qunused-arguments ${CPPFLAGS}"
 fi
 if test -n "${CLANG_CXX}${CLANG_CL}"; then
     _WARNINGS_CXXFLAGS="-Qunused-arguments ${_WARNINGS_CXXFLAGS}"
 fi
 
-MOZ_CONFIG_SANITIZE
+if test -n "$COMPILE_ENVIRONMENT"; then
+   MOZ_CONFIG_SANITIZE
+fi
 
 dnl ========================================================
 dnl = Enable treating compiler warnings as errors
 dnl ========================================================
 MOZ_ARG_ENABLE_BOOL(warnings-as-errors,
 [  --enable-warnings-as-errors
                           Enable treating warnings as errors],
     MOZ_ENABLE_WARNINGS_AS_ERRORS=1,