From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-wireless/linux-wlan-ng-utils/files: linux-wlan-ng-utils-0.2.2-asneeded.patch |
Date: | Tue, 29 Jun 2010 15:27:06 |
Message-Id: | 20100629152701.1DFDD2C3ED@corvid.gentoo.org |
1 | ssuominen 10/06/29 15:27:00 |
2 | |
3 | Added: linux-wlan-ng-utils-0.2.2-asneeded.patch |
4 | Log: |
5 | Fix building with -Wl,--as-needed wrt #248195 by Diego E. Pettenò. |
6 | (Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-wireless/linux-wlan-ng-utils/files/linux-wlan-ng-utils-0.2.2-asneeded.patch |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/linux-wlan-ng-utils/files/linux-wlan-ng-utils-0.2.2-asneeded.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/linux-wlan-ng-utils/files/linux-wlan-ng-utils-0.2.2-asneeded.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: linux-wlan-ng-utils-0.2.2-asneeded.patch |
15 | =================================================================== |
16 | --- add-ons/keygen/Makefile |
17 | +++ add-ons/keygen/Makefile |
18 | @@ -44,6 +44,6 @@ |
19 | |
20 | |
21 | keygen: |
22 | - gcc -o keygen keygen.c -lcrypto |
23 | + $(CC) $(CFLAGS) $(LDFLAGS) -o keygen keygen.c -lcrypto |
24 | |
25 | |
26 | --- add-ons/lwepgen/Makefile |
27 | +++ add-ons/lwepgen/Makefile |
28 | @@ -1,7 +1,7 @@ |
29 | default: lwepgen |
30 | |
31 | lwepgen: lwepgen.c |
32 | - gcc -Wl,/usr/lib/libcrypto.so -o lwepgen lwepgen.c |
33 | + $(CC) $(CFLAGS) $(LDFLAGS) -o lwepgen lwepgen.c -lcrypto |
34 | |
35 | lwepgen.c: |
36 | echo lwepgen.c missing! |