1 |
chainsaw 11/09/27 21:14:09 |
2 |
|
3 |
Added: xen-tools-3.4.2-ldflags-respect.patch |
4 |
Log: |
5 |
Proxy commit for Ian "idella4" Delaney. LDFLAGS respect closes bug #384351. Removal of static libraries closes bug #384355. Use toolchain function instead of calling LD directly, closes bug #384359. |
6 |
|
7 |
(Portage version: 2.1.10.19/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 app-emulation/xen-tools/files/xen-tools-3.4.2-ldflags-respect.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xen-tools-3.4.2-ldflags-respect.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/xen-tools/files/xen-tools-3.4.2-ldflags-respect.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: xen-tools-3.4.2-ldflags-respect.patch |
16 |
=================================================================== |
17 |
--- ./tools/fs-back/Makefile 2011-09-26 23:14:30.454759297 +0800 |
18 |
+++ ./tools/fs-back/Makefile 2011-09-27 16:37:57.445748680 +0800 |
19 |
@@ -23,7 +23,7 @@ |
20 |
all: $(IBIN) |
21 |
|
22 |
fs-backend: $(OBJS) fs-backend.c |
23 |
- $(CC) $(CFLAGS) -o fs-backend $(OBJS) $(LIBS) fs-backend.c |
24 |
+ $(CC) $(CFLAGS) $(LDFLAGS) -o fs-backend $(OBJS) $(LIBS) fs-backend.c |
25 |
|
26 |
install: all |
27 |
$(INSTALL_PROG) $(IBIN) $(DESTDIR)$(SBINDIR) |
28 |
--- ./tools/libfsimage/common/Makefile 2009-11-10 23:12:56.000000000 +0800 |
29 |
+++ ./tools/libfsimage/common/Makefile 2011-09-27 16:41:16.516748626 +0800 |
30 |
@@ -6,7 +6,7 @@ |
31 |
|
32 |
LDFLAGS-$(CONFIG_SunOS) = -Wl,-M -Wl,mapfile-SunOS |
33 |
LDFLAGS-$(CONFIG_Linux) = -Wl,mapfile-GNU |
34 |
-LDFLAGS = $(LDFLAGS-y) |
35 |
+#LDFLAGS = $(LDFLAGS-y) |
36 |
|
37 |
LIB_SRCS-y = fsimage.c fsimage_plugin.c fsimage_grub.c |
38 |
|
39 |
--- ./tools/misc/lomount/Makefile 2011-09-27 14:23:26.596752233 +0800 |
40 |
+++ ./tools/misc/lomount/Makefile 2011-09-27 16:37:57.445748680 +0800 |
41 |
@@ -23,5 +23,5 @@ |
42 |
$(RM) *.a *.so *.o *.rpm $(BIN) |
43 |
|
44 |
%: %.c $(HDRS) Makefile |
45 |
- $(CC) $(CFLAGS) -o $@ $< |
46 |
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< |