diff options
author | Joern Rennecke <joern.rennecke@embecosm.com> | 2010-01-25 18:06:22 +0000 |
---|---|---|
committer | Joern Rennecke <joern.rennecke@embecosm.com> | 2010-01-25 18:06:22 +0000 |
commit | 2aa2364a8901583a5d0ffbbf64e7baed4a52f4e1 (patch) | |
tree | caf2a9fe5354f72b24006cba31ab424bbe5f3b6a /configure.ac | |
parent | c7f3c371135283f5376966704680c4f712b8c8a9 (diff) | |
download | fsf-binutils-gdb-2aa2364a8901583a5d0ffbbf64e7baed4a52f4e1.zip fsf-binutils-gdb-2aa2364a8901583a5d0ffbbf64e7baed4a52f4e1.tar.gz fsf-binutils-gdb-2aa2364a8901583a5d0ffbbf64e7baed4a52f4e1.tar.bz2 |
gcc PR libstdc++/36101, gcc PR libstdc++/42813
* configure.ac (bootstrap_target_libs): Make inclusion of
target-libgomp conditional on libgomb being in target_configdirs.
* configure: Regenerate.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 1bb8f8a..75af4e5 100644 --- a/configure.ac +++ b/configure.ac @@ -1730,7 +1730,7 @@ fi stage1_languages=,c, # Target libraries that we bootstrap. -bootstrap_target_libs=,target-libgcc,target-libgomp, +bootstrap_target_libs=,target-libgcc, # Figure out what language subdirectories are present. # Look if the user specified --enable-languages="..."; if not, use @@ -2526,6 +2526,11 @@ fi target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'` build_configdirs=`echo "${build_configdirs}" | sed -e 's/build-//g'` +# If we are building libgomp, bootstrap it. +if echo " ${target_configdirs} " | grep " libgomp " > /dev/null 2>&1 ; then + bootstrap_target_libs=${bootstrap_target_libs}target-libgomp, +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! |