]> rtime.felk.cvut.cz Git - fpga/lx-cpu1/newlib-tumbl.git/commitdiff
gcc PR libstdc++/36101, gcc PR libstdc++/42813
authorJoern Rennecke <joern.rennecke@arc.com>
Mon, 25 Jan 2010 18:06:22 +0000 (18:06 +0000)
committerJoern Rennecke <joern.rennecke@arc.com>
Mon, 25 Jan 2010 18:06:22 +0000 (18:06 +0000)
* configure.ac (bootstrap_target_libs): Make inclusion of
target-libgomp conditional on libgomb being in target_configdirs.
* configure: Regenerate.

ChangeLog
configure
configure.ac

index 030b2dae28151c92ba589c3d2e38315820013e5f..01bfa109d10a99da892946dbd35527787e510fbf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-01-25  Joern Rennecke  <amylaar@spamcop.net>
+
+       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.
+
 2010-01-23  Joern Rennecke  <amylaar@spamcop.net>
 
        gcc PR libstdc++/36101, gcc PR libstdc++/42813
index 053a9f40e73845962c8fc95983d4b1e506218b77..ad16b8f258c564f810e161f548184e1fc1d159c3 100755 (executable)
--- a/configure
+++ b/configure
@@ -6513,7 +6513,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
@@ -7362,6 +7362,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!
index 1bb8f8a5f7df91e7eddae5b521caf53ae31e8de6..75af4e5137ff2bc51dbd95a821172cfe21a7be87 100644 (file)
@@ -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!