summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-10-04 15:00:45 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-10-04 15:00:45 +0000
commit10067159420ddd9778e394d35a98a0f1239a5d76 (patch)
tree68121462b536b3e811067f20f9a8f0f0a19f3cc4 /eclass
parentReplace -Wl,--no-as-needed with function from flag-o-matic eclass. (diff)
downloadgentoo-2-10067159420ddd9778e394d35a98a0f1239a5d76.tar.gz
gentoo-2-10067159420ddd9778e394d35a98a0f1239a5d76.tar.bz2
gentoo-2-10067159420ddd9778e394d35a98a0f1239a5d76.zip
Replace -Wl,--no-as-needed with function from flag-o-matic eclass.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/apache-2.eclass9
1 files changed, 2 insertions, 7 deletions
diff --git a/eclass/apache-2.eclass b/eclass/apache-2.eclass
index 5b03a905c549..27de37f59e99 100644
--- a/eclass/apache-2.eclass
+++ b/eclass/apache-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.18 2009/09/20 08:37:23 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.19 2009/10/04 15:00:45 ssuominen Exp $
EAPI="2"
@@ -444,12 +444,7 @@ apache-2_src_prepare() {
apache-2_src_configure() {
# Instead of filtering --as-needed (bug #128505), append --no-as-needed
# Thanks to Harald van Dijk
- # ... but only on platforms that use a GNU linker!
- case ${CHOST} in
- *-solaris* | *-*bsd* | *-linux-gnu)
- append-ldflags -Wl,--no-as-needed
- ;;
- esac
+ append-ldflags $(no-as-needed)
# peruser MPM debugging with -X is nearly impossible
if has peruser ${IUSE_MPMS} && use apache2_mpms_peruser ; then