From: | "Naohiro Aota (naota)" <naota@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/tomoyo-tools/files: tomoyo-tools-2.2.0_p20110211-ldflags.patch |
Date: | Thu, 29 Sep 2011 22:51:27 |
Message-Id: | 20110929225117.D47EF2004C@flycatcher.gentoo.org |
1 | naota 11/09/29 22:51:17 |
2 | |
3 | Added: tomoyo-tools-2.2.0_p20110211-ldflags.patch |
4 | Log: |
5 | Respect LDFLAGS. Bug #332297 |
6 | |
7 | (Portage version: 2.2.0_alpha59/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sys-apps/tomoyo-tools/files/tomoyo-tools-2.2.0_p20110211-ldflags.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/tomoyo-tools/files/tomoyo-tools-2.2.0_p20110211-ldflags.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/tomoyo-tools/files/tomoyo-tools-2.2.0_p20110211-ldflags.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: tomoyo-tools-2.2.0_p20110211-ldflags.patch |
16 | =================================================================== |
17 | diff --git a/Makefile b/Makefile |
18 | index d84a02b..e1cb36b 100644 |
19 | --- a/Makefile |
20 | +++ b/Makefile |
21 | @@ -39,10 +39,10 @@ CFLAGS=-Wall -O2 -pipe -fomit-frame-pointer -march=core2 -mcx16 -msahf -maes -mp |
22 | sleep 10 |
23 | |
24 | tomoyotools: tomoyotools.src/*.c tomoyotools.src/*.h /usr/include/curses.h |
25 | - $(CC) $(CFLAGS) -o tomoyotools tomoyotools.src/*.c -lncurses -DCOLOR_ON |
26 | + $(CC) $(CFLAGS) $(LDFLAGS) -o tomoyotools tomoyotools.src/*.c -lncurses -DCOLOR_ON |
27 | |
28 | .c: |
29 | - $(CC) $(CFLAGS) -o $@ $< |
30 | + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< |
31 | |
32 | clean: |
33 | rm -f $(MAIN_FILES) $(MISC_FILES) |