1 |
ssuominen 09/10/04 15:00:46 |
2 |
|
3 |
Modified: apache-2.eclass |
4 |
Log: |
5 |
Replace -Wl,--no-as-needed with function from flag-o-matic eclass. |
6 |
|
7 |
Revision Changes Path |
8 |
1.19 eclass/apache-2.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/apache-2.eclass?rev=1.19&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/apache-2.eclass?rev=1.19&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/apache-2.eclass?r1=1.18&r2=1.19 |
13 |
|
14 |
Index: apache-2.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v |
17 |
retrieving revision 1.18 |
18 |
retrieving revision 1.19 |
19 |
diff -u -r1.18 -r1.19 |
20 |
--- apache-2.eclass 20 Sep 2009 08:37:23 -0000 1.18 |
21 |
+++ apache-2.eclass 4 Oct 2009 15:00:45 -0000 1.19 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2007 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.18 2009/09/20 08:37:23 hollow Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.19 2009/10/04 15:00:45 ssuominen Exp $ |
27 |
|
28 |
EAPI="2" |
29 |
|
30 |
@@ -444,12 +444,7 @@ |
31 |
apache-2_src_configure() { |
32 |
# Instead of filtering --as-needed (bug #128505), append --no-as-needed |
33 |
# Thanks to Harald van Dijk |
34 |
- # ... but only on platforms that use a GNU linker! |
35 |
- case ${CHOST} in |
36 |
- *-solaris* | *-*bsd* | *-linux-gnu) |
37 |
- append-ldflags -Wl,--no-as-needed |
38 |
- ;; |
39 |
- esac |
40 |
+ append-ldflags $(no-as-needed) |
41 |
|
42 |
# peruser MPM debugging with -X is nearly impossible |
43 |
if has peruser ${IUSE_MPMS} && use apache2_mpms_peruser ; then |