summaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorJim Wilson <wilson@tuliptree.org>2004-04-16 07:17:44 +0000
committerJim Wilson <wilson@tuliptree.org>2004-04-16 07:17:44 +0000
commit1460dd9d6b280dfca31d166105ef3cf21346c246 (patch)
tree40b0440a9d47a7c18313067cd2330b55d8ccda75 /Makefile.tpl
parentd979cf8ac84c9c46169303ea44b8e88814b934ff (diff)
downloadbinutils-redhat-1460dd9d6b280dfca31d166105ef3cf21346c246.tar.gz
Fix LDFLAGS related configure errors.
* Makefile.tpl (configure-[+module+], configure-gcc, configure-stage1-gcc, configure-stage2-gcc, configure-stage3-gcc): Set and export LDFLAGS. * Makefile.in: Regenerate.
Diffstat (limited to 'Makefile.tpl')
-rw-r--r--Makefile.tpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.tpl b/Makefile.tpl
index e52f7096bd..7ae10deab3 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -781,6 +781,7 @@ configure-[+module+]:
CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
LD="$(LD)"; export LD; \
+ LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
NM="$(NM)"; export NM; \
RANLIB="$(RANLIB)"; export RANLIB; \
WINDRES="$(WINDRES)"; export WINDRES; \
@@ -1076,6 +1077,7 @@ configure-gcc:
CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
LD="$(LD)"; export LD; \
+ LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
NM="$(NM)"; export NM; \
RANLIB="$(RANLIB)"; export RANLIB; \
WINDRES="$(WINDRES)"; export WINDRES; \
@@ -1335,6 +1337,7 @@ configure-stage1-gcc:
CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
LD="$(LD)"; export LD; \
+ LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
NM="$(NM)"; export NM; \
RANLIB="$(RANLIB)"; export RANLIB; \
WINDRES="$(WINDRES)"; export WINDRES; \
@@ -1405,6 +1408,7 @@ configure-stage2-gcc: all-stage1-gcc
AS="$(AS)"; export AS; \
DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
LD="$(LD)"; export LD; \
+ LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
NM="$(NM)"; export NM; \
RANLIB="$(RANLIB)"; export RANLIB; \
WINDRES="$(WINDRES)"; export WINDRES; \
@@ -1477,6 +1481,7 @@ configure-stage3-gcc: all-stage2-gcc
AS="$(AS)"; export AS; \
DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
LD="$(LD)"; export LD; \
+ LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
NM="$(NM)"; export NM; \
RANLIB="$(RANLIB)"; export RANLIB; \
WINDRES="$(WINDRES)"; export WINDRES; \