summaryrefslogtreecommitdiff
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
commitf82f4c9de091ef0729ef67fc01c404f27f360968 (patch)
tree7cadc751d56aa64c142da87ed73d6d83a5fdf424 /eclass/apache-2.eclass
parentReplace -Wl,--no-as-needed with function from flag-o-matic eclass. (diff)
downloadhistorical-f82f4c9de091ef0729ef67fc01c404f27f360968.tar.gz
historical-f82f4c9de091ef0729ef67fc01c404f27f360968.tar.bz2
historical-f82f4c9de091ef0729ef67fc01c404f27f360968.zip
Replace -Wl,--no-as-needed with function from flag-o-matic eclass.
Diffstat (limited to 'eclass/apache-2.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