summaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-24 00:37:08 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-24 00:37:08 +0000
commitd389b7e3624b2d0d09b8fb159c302d3e311107bc (patch)
tree199fa5abe2deb0dd8df27559e0f06d2e98daad55 /Makefile.tpl
parentdab03f9bcd49cf2535b4379290614c74e5f14fd3 (diff)
downloadgcc-d389b7e3624b2d0d09b8fb159c302d3e311107bc.tar.gz
2004-09-23 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/17369 * Makefile.tpl (REALLY_SET_LIB_PATH): Add @SET_GCC_LIB_PATH@. (HOST_EXPORTS]): Add @SET_GCC_LIB_PATH@. Set and export SET_GCC_LIB_PATH_CMD. (BASE_TARGET_EXPORTS): Likewise. * Makefile.in: Regenerated. * configure.in (SET_GCC_LIB_PATH): Set and substitute. * configure: Regenerated. config/ 2004-09-23 H.J. Lu <hongjiu.lu@intel.com> PR bootstrap/17369 * gcc-lib-path.m4: New file. gcc/ 2004-09-23 H.J. Lu <hongjiu.lu@intel.com> PR bootstrap/17369 * Makefile.in (@set_gcc_lib_path@): Added. * configure.ac: Include ../config/gcc-lib-path.m4. Use TL_AC_GNU_MAKE_GCC_LIB_PATH. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87999 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'Makefile.tpl')
-rw-r--r--Makefile.tpl9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.tpl b/Makefile.tpl
index d685c39ded5..06ea94a9639 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -104,6 +104,7 @@ SET_LIB_PATH = @SET_LIB_PATH@
# Some platforms don't like blank entries, so we remove duplicate,
# leading and trailing colons.
REALLY_SET_LIB_PATH = \
+ @SET_GCC_LIB_PATH@ \
$(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
# This is the list of directories to be built for the build system.
@@ -173,7 +174,9 @@ HOST_EXPORTS = \
OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
- GMPINC="$(HOST_GMPINC)"; export GMPINC;
+ GMPINC="$(HOST_GMPINC)"; export GMPINC; \
+ SET_GCC_LIB_PATH_CMD="@SET_GCC_LIB_PATH@"; export SET_GCC_LIB_PATH_CMD; \
+ @SET_GCC_LIB_PATH@
# Similar, for later GCC stages.
STAGE_HOST_EXPORTS = \
@@ -207,7 +210,9 @@ BASE_TARGET_EXPORTS = \
LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
NM="$(NM_FOR_TARGET)"; export NM; \
RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
- WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES;
+ WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
+ SET_GCC_LIB_PATH_CMD="@SET_GCC_LIB_PATH@"; export SET_GCC_LIB_PATH_CMD; \
+ @SET_GCC_LIB_PATH@
RAW_CXX_TARGET_EXPORTS = \
$(BASE_TARGET_EXPORTS) \