aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--Makefile.def1
-rw-r--r--Makefile.in2
-rw-r--r--Makefile.tpl1
4 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d1f676a..761b364 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-07-27 Mark Mitchell <mark@codesourcery.com>
+
+ * Makefile.tpl (EXTRA_TARGET_FLAGS): Set LDFLAGS=LDFLAGS_FOR_TARGET.
+ * Makefile.def (flags_to_pass): Add LDFLAGS_FOR_TARGET.
+ * Makefile.in: Regenerated.
+
2005-07-26 Mark Mitchell <mark@codesourcery.com>
* Makefile.tpl (SYSROOT_CFLAGS_FOR_TARGET): New variable.
diff --git a/Makefile.def b/Makefile.def
index 0f3d95d..0cc3525 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -223,6 +223,7 @@ flags_to_pass = { flag= DLLTOOL_FOR_TARGET ; };
flags_to_pass = { flag= GCJ_FOR_TARGET ; };
flags_to_pass = { flag= GFORTRAN_FOR_TARGET ; };
flags_to_pass = { flag= LD_FOR_TARGET ; };
+flags_to_pass = { flag= LDFLAGS_FOR_TARGET ; };
flags_to_pass = { flag= LIBCFLAGS_FOR_TARGET ; };
flags_to_pass = { flag= LIBCXXFLAGS_FOR_TARGET ; };
flags_to_pass = { flag= NM_FOR_TARGET ; };
diff --git a/Makefile.in b/Makefile.in
index 83c9739..4268704 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -575,6 +575,7 @@ BASE_FLAGS_TO_PASS = \
"GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
"GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
"LD_FOR_TARGET=$(LD_FOR_TARGET)" \
+ "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
"LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
"LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
"NM_FOR_TARGET=$(NM_FOR_TARGET)" \
@@ -633,6 +634,7 @@ EXTRA_TARGET_FLAGS = \
'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
'LD=$$(LD_FOR_TARGET)' \
+ 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
'NM=$$(NM_FOR_TARGET)' \
diff --git a/Makefile.tpl b/Makefile.tpl
index 9003f9e..c37bd50 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -569,6 +569,7 @@ EXTRA_TARGET_FLAGS = \
'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
'LD=$$(LD_FOR_TARGET)' \
+ 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
'NM=$$(NM_FOR_TARGET)' \