diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-03-26 09:19:44 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-05-08 10:18:30 -0600 |
commit | 201f096fea34784b34e9084bd18e30097c273c9b (patch) | |
tree | 818951693f9848360c20267a651f3a4a9d851837 /configure | |
parent | * configure.ac: Move BUILD_CONFIG set up earlier. Add --enable-vtable-verify ... (diff) | |
download | binutils-gdb-201f096fea34784b34e9084bd18e30097c273c9b.tar.gz binutils-gdb-201f096fea34784b34e9084bd18e30097c273c9b.tar.bz2 binutils-gdb-201f096fea34784b34e9084bd18e30097c273c9b.zip |
PR sanitizer/56781 * Makefile.def: Set bootstrap=true; for host fixincludes. * configure.ac: Don't bootstrap host fixincludes unless --with-build-config=bootstrap-{a,ub}san. * Makefile.in: Regenerated. * configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208842 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/configure b/configure index 1c9e5cb6c24..3f217a2eeab 100755 --- a/configure +++ b/configure @@ -7163,6 +7163,7 @@ $as_echo "$enable_vtable_verify" >&6; } # build configuration in Makefile. target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'` build_configdirs=`echo "${build_configdirs}" | sed -e 's/build-//g'` +bootstrap_fixincludes=no # If we are building libgomp, bootstrap it. if echo " ${target_configdirs} " | grep " libgomp " > /dev/null 2>&1 ; then @@ -7175,6 +7176,7 @@ if echo " ${target_configdirs} " | grep " libsanitizer " > /dev/null 2>&1; then case "$BUILD_CONFIG" in *bootstrap-asan* | *bootstrap-ubsan* ) bootstrap_target_libs=${bootstrap_target_libs}target-libsanitizer, + bootstrap_fixincludes=yes ;; esac fi @@ -7257,11 +7259,15 @@ for module in ${configdirs} ; do fi done fi + case ${module},${bootstrap_fixincludes} in + fixincludes,no) host_bootstrap_suffix=no-bootstrap ;; + *) host_bootstrap_suffix=$bootstrap_suffix ;; + esac extrasub_host="$extrasub_host /^@if $module\$/d /^@endif $module\$/d -/^@if $module-$bootstrap_suffix\$/d -/^@endif $module-$bootstrap_suffix\$/d" +/^@if $module-$host_bootstrap_suffix\$/d +/^@endif $module-$host_bootstrap_suffix\$/d" done extrasub_target= for module in ${target_configdirs} ; do |