aboutsummaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2009-10-07 05:57:49 +0000
committerIan Lance Taylor <ian@airs.com>2009-10-07 05:57:49 +0000
commit700d40ca16eb3ba1ecc1e602cb3eec175bdf70f0 (patch)
tree9d41e08c7e7741a838e19ffe6aff219442600efb /Makefile.tpl
parentcd42ff9c6079e4c26985040c79f484a5e11c660a (diff)
downloadgdb-700d40ca16eb3ba1ecc1e602cb3eec175bdf70f0.zip
gdb-700d40ca16eb3ba1ecc1e602cb3eec175bdf70f0.tar.gz
gdb-700d40ca16eb3ba1ecc1e602cb3eec175bdf70f0.tar.bz2
Sync with gcc repository.
Diffstat (limited to 'Makefile.tpl')
-rw-r--r--Makefile.tpl8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.tpl b/Makefile.tpl
index 6c63d95..45a58c5 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -222,6 +222,8 @@ HOST_EXPORTS = \
PPLINC="$(HOST_PPLINC)"; export PPLINC; \
CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \
CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \
+ LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \
+ LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \
@if gcc-bootstrap
$(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
@endif gcc-bootstrap
@@ -238,7 +240,7 @@ POSTSTAGE1_HOST_EXPORTS = \
-B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
-I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
-I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
- -I$$r/$(srcdir)/libstdc++-v3/libsupc++ \
+ -I$$s/libstdc++-v3/libsupc++ \
-L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs"; export CXX; \
CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD; \
GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
@@ -296,6 +298,10 @@ HOST_PPLINC = @pplinc@
HOST_CLOOGLIBS = @clooglibs@
HOST_CLOOGINC = @clooginc@
+# Where to find libelf
+HOST_LIBELFLIBS = @libelflibs@
+HOST_LIBELFINC = @libelfinc@
+
# ----------------------------------------------
# Programs producing files for the BUILD machine
# ----------------------------------------------