public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-shells/bash/files: bash-3.2-ldflags-for-build.patch
@ 2008-03-01 20:38 Mike Frysinger (vapier)
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2008-03-01 20:38 UTC (permalink / raw
  To: gentoo-commits

vapier      08/03/01 20:38:05

  Added:                bash-3.2-ldflags-for-build.patch
  Log:
  Fix from Takashi YOSHII to respect LDFLAGS_FOR_BUILD #211947.
  (Portage version: 2.2_pre2)

Revision  Changes    Path
1.1                  app-shells/bash/files/bash-3.2-ldflags-for-build.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/bash/files/bash-3.2-ldflags-for-build.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-shells/bash/files/bash-3.2-ldflags-for-build.patch?rev=1.1&content-type=text/plain

Index: bash-3.2-ldflags-for-build.patch
===================================================================
http://bugs.gentoo.org/211947

fix from Takashi YOSHII: dont use target ldflags for build apps

--- bash/builtins/Makefile.in
+++ bash/builtins/Makefile.in
@@ -63,7 +63,7 @@
 
 LIBS = @LIBS@
 LDFLAGS = @LDFLAGS@ $(LOCAL_LDFLAGS) $(CFLAGS)
-LDFLAGS_FOR_BUILD = $(LDFLAGS)
+LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@ $(LOCAL_LDFLAGS) $(CFLAGS_FOR_BUILD)
 LOCAL_LDFLAGS = @LOCAL_LDFLAGS@
 #LIBS_FOR_BUILD = @LIBS_FOR_BUILD@
 LIBS_FOR_BUILD = $(LIBS)
--- bash/support/Makefile.in
+++ bash/support/Makefile.in
@@ -58,7 +58,7 @@
 
 LOCAL_LDFLAGS = @LOCAL_LDFLAGS@
 LDFLAGS = @LDFLAGS@ $(LOCAL_LDFLAGS) $(CFLAGS)
-LDFLAGS_FOR_BUILD = $(LDFLAGS)
+LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@ $(LOCAL_LDFLAGS) $(CFLAGS_FOR_BUILD)
 
 INCLUDES = -I${BUILD_DIR} -I${topdir}
 
--- bash/Makefile.in
+++ bash/Makefile.in
@@ -143,7 +143,7 @@
 CCFLAGS_FOR_BUILD = $(BASE_CCFLAGS) $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD)
 
 LDFLAGS = @LDFLAGS@ $(STATIC_LD) $(LOCAL_LDFLAGS) $(PROFILE_FLAGS) $(CFLAGS)
-LDFLAGS_FOR_BUILD = $(LDFLAGS)
+LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@ $(LOCAL_LDFLAGS) $(CFLAGS_FOR_BUILD)
 
 INCLUDES = -I. @RL_INCLUDE@ -I$(srcdir) -I$(BASHINCDIR) -I$(LIBSRC) $(INTL_INC)
 



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-01 20:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-01 20:38 [gentoo-commits] gentoo-x86 commit in app-shells/bash/files: bash-3.2-ldflags-for-build.patch Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox