diff --git a/ChangeLog b/ChangeLog index 233b29fca20d54c79e7b503069b845163764a898..345c52d65aa1d3ba3c0307163d1541f981de0332 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 0f3d95d5095af319be78688eb77fb267efa2c72c..0cc35258e81f8d9a536aa23bc6713672a101a439 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 83c97391f66a99e23f14db4be30fb2e70edcb63f..4268704f2d49c90cc1db22f397fac3fbc9a641d1 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 9003f9eb9955b1722352945392846d0d48c030a4..c37bd50e1bdf234ba9a5fcf00aea0ce52fc14ad7 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)' \