aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-12-12 13:52:58 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-12-12 13:52:58 +0000
commit5eb0869364e136a00cce22993c00dda999845c6e (patch)
treec64e2e458430e882cdfaf34b6676b1b2d4604cea /configure
parenteb13b4b9e63860939491621d3cb23723f2898a3e (diff)
downloadgdb-5eb0869364e136a00cce22993c00dda999845c6e.zip
gdb-5eb0869364e136a00cce22993c00dda999845c6e.tar.gz
gdb-5eb0869364e136a00cce22993c00dda999845c6e.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.
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!