1 |
vapier 08/03/01 20:38:05 |
2 |
|
3 |
Added: bash-3.2-ldflags-for-build.patch |
4 |
Log: |
5 |
Fix from Takashi YOSHII to respect LDFLAGS_FOR_BUILD #211947. |
6 |
(Portage version: 2.2_pre2) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 app-shells/bash/files/bash-3.2-ldflags-for-build.patch |
10 |
|
11 |
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 |
12 |
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 |
13 |
|
14 |
Index: bash-3.2-ldflags-for-build.patch |
15 |
=================================================================== |
16 |
http://bugs.gentoo.org/211947 |
17 |
|
18 |
fix from Takashi YOSHII: dont use target ldflags for build apps |
19 |
|
20 |
--- bash/builtins/Makefile.in |
21 |
+++ bash/builtins/Makefile.in |
22 |
@@ -63,7 +63,7 @@ |
23 |
|
24 |
LIBS = @LIBS@ |
25 |
LDFLAGS = @LDFLAGS@ $(LOCAL_LDFLAGS) $(CFLAGS) |
26 |
-LDFLAGS_FOR_BUILD = $(LDFLAGS) |
27 |
+LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@ $(LOCAL_LDFLAGS) $(CFLAGS_FOR_BUILD) |
28 |
LOCAL_LDFLAGS = @LOCAL_LDFLAGS@ |
29 |
#LIBS_FOR_BUILD = @LIBS_FOR_BUILD@ |
30 |
LIBS_FOR_BUILD = $(LIBS) |
31 |
--- bash/support/Makefile.in |
32 |
+++ bash/support/Makefile.in |
33 |
@@ -58,7 +58,7 @@ |
34 |
|
35 |
LOCAL_LDFLAGS = @LOCAL_LDFLAGS@ |
36 |
LDFLAGS = @LDFLAGS@ $(LOCAL_LDFLAGS) $(CFLAGS) |
37 |
-LDFLAGS_FOR_BUILD = $(LDFLAGS) |
38 |
+LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@ $(LOCAL_LDFLAGS) $(CFLAGS_FOR_BUILD) |
39 |
|
40 |
INCLUDES = -I${BUILD_DIR} -I${topdir} |
41 |
|
42 |
--- bash/Makefile.in |
43 |
+++ bash/Makefile.in |
44 |
@@ -143,7 +143,7 @@ |
45 |
CCFLAGS_FOR_BUILD = $(BASE_CCFLAGS) $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD) |
46 |
|
47 |
LDFLAGS = @LDFLAGS@ $(STATIC_LD) $(LOCAL_LDFLAGS) $(PROFILE_FLAGS) $(CFLAGS) |
48 |
-LDFLAGS_FOR_BUILD = $(LDFLAGS) |
49 |
+LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@ $(LOCAL_LDFLAGS) $(CFLAGS_FOR_BUILD) |
50 |
|
51 |
INCLUDES = -I. @RL_INCLUDE@ -I$(srcdir) -I$(BASHINCDIR) -I$(LIBSRC) $(INTL_INC) |
52 |
|
53 |
|
54 |
|
55 |
|
56 |
-- |
57 |
gentoo-commits@l.g.o mailing list |