diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2012-12-11 21:35:40 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2012-12-11 13:35:40 -0800 |
commit | ac8701fe918336ae67694e15a8ca9b4c212a1dd3 (patch) | |
tree | a8b6b1aef29c04e29555a704d66db6f3ae7e3f75 /configure | |
parent | d10a2df271f61c3afbfffba661dbf02181cd5549 (diff) | |
download | gcc-ac8701fe918336ae67694e15a8ca9b4c212a1dd3.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.
From-SVN: r194425
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure index b58860ff3b2..acff17345db 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! |