aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2012-11-29 16:33:35 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2012-11-29 08:33:35 -0800
commitc3cc0031a0993e95e7d190a0d005465db839081d (patch)
tree91a45d23dcabb925a214fc600966382a7ec92c7d /configure
parentd5a1053a0d44116b1cbd887928276517ed8f458a (diff)
downloadgcc-c3cc0031a0993e95e7d190a0d005465db839081d.zip
gcc-c3cc0031a0993e95e7d190a0d005465db839081d.tar.gz
gcc-c3cc0031a0993e95e7d190a0d005465db839081d.tar.bz2
Add --with-build-config=bootstrap-asan support
* Makefile.def (target_modules): Add bootstrap=true and raw_cxx=true to libsanitizer. * configure.ac (bootstrap_target_libs): Add libsanitizer. * Makefile.in: Regenerated. * configure: Likewise. config/ * bootstrap-asan.mk: New file. From-SVN: r193940
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index b58860f..acff173 100755
--- a/configure
+++ b/configure
@@ -6913,6 +6913,11 @@ if echo " ${target_configdirs} " | grep " libgomp " > /dev/null 2>&1 ; then
bootstrap_target_libs=${bootstrap_target_libs}target-libgomp,
fi
+# If we are building libsanitizer, bootstrap it.
+if echo " ${target_configdirs} " | grep " libsanitizer " > /dev/null 2>&1 ; then
+ bootstrap_target_libs=${bootstrap_target_libs}target-libsanitizer,
+fi
+
# Determine whether gdb needs tk/tcl or not.
# Use 'maybe' since enable_gdbtk might be true even if tk isn't available
# and in that case we want gdb to be built without tk. Ugh!