summaryrefslogtreecommitdiffstats
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorJoern Rennecke <joern.rennecke@embecosm.com>2010-01-22 16:28:25 +0000
committerJoern Rennecke <joern.rennecke@embecosm.com>2010-01-22 16:28:25 +0000
commite894eef9f5bfa989029423afe729da554df8d17e (patch)
treecba348ddf9aba8d0e77042954143a37e3f3ce415 /Makefile.tpl
parentfe57329f991a0b347d40a5c97d9a62285eb708fe (diff)
downloadcygnal-e894eef9f5bfa989029423afe729da554df8d17e.tar.gz
cygnal-e894eef9f5bfa989029423afe729da554df8d17e.tar.bz2
cygnal-e894eef9f5bfa989029423afe729da554df8d17e.zip
gcc PR libstdc++/36101, gcc PR libstdc++/42813
* configure.ac (target_configdirs): Substitute. * Makefile.def: Bootstrap target module libgomp. Add dependency of all-target-libstdc++-v3 on configure-target-libgomp. * Makefile.tpl (TARGET_CONFIGDIRS): New makefile variable. (BASE_TARGET_EXPORTS): Export TARGET_CONFIGDIRS. * configure, Makefile.in: Regenerate.
Diffstat (limited to 'Makefile.tpl')
-rw-r--r--Makefile.tpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.tpl b/Makefile.tpl
index ac62666d0..889c040c5 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -176,6 +176,7 @@ EXTRA_BUILD_FLAGS = \
# This is the list of directories to built for the host system.
SUBDIRS = @configdirs@
+TARGET_CONFIGDIRS = @target_configdirs@
# This is set by the configure script to the arguments to use when configuring
# directories built for the host system.
HOST_CONFIGARGS = @host_configargs@
@@ -287,7 +288,8 @@ BASE_TARGET_EXPORTS = \
@if gcc-bootstrap
$(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
@endif gcc-bootstrap
- $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
+ $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
+ TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
RAW_CXX_TARGET_EXPORTS = \
$(BASE_TARGET_EXPORTS) \