aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2012-12-11 21:35:40 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2012-12-11 13:35:40 -0800
commitac8701fe918336ae67694e15a8ca9b4c212a1dd3 (patch)
treea8b6b1aef29c04e29555a704d66db6f3ae7e3f75 /configure
parentd10a2df271f61c3afbfffba661dbf02181cd5549 (diff)
downloadgcc-ac8701fe918336ae67694e15a8ca9b4c212a1dd3.zip
gcc-ac8701fe918336ae67694e15a8ca9b4c212a1dd3.tar.gz
gcc-ac8701fe918336ae67694e15a8ca9b4c212a1dd3.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. From-SVN: r194425
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!