summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2012-12-11 21:35:40 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2012-12-11 21:35:40 +0000
commit579abfee984c7f67bd3ba4c98f430bd951332ce9 (patch)
treea8b6b1aef29c04e29555a704d66db6f3ae7e3f75 /configure.ac
parentc8723c2d652139587f9766be37a4ba09ba12787f (diff)
downloadgcc-579abfee984c7f67bd3ba4c98f430bd951332ce9.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194425 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 49f4f5dae88..a92ff3af8b0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2433,6 +2433,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!