summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Loeh <kosmikus@gentoo.org>2004-11-04 14:16:14 +0000
committerAndres Loeh <kosmikus@gentoo.org>2004-11-04 14:16:14 +0000
commit4f03bb34275bdee34e525f784e9f71ddd13b3a72 (patch)
treefab05b0c5ad7ac7698918e776e9239f04fa05ad6 /eclass/ghc-package.eclass
parentfixed patch (Manifest recommit) (diff)
downloadgentoo-2-4f03bb34275bdee34e525f784e9f71ddd13b3a72.tar.gz
gentoo-2-4f03bb34275bdee34e525f784e9f71ddd13b3a72.tar.bz2
gentoo-2-4f03bb34275bdee34e525f784e9f71ddd13b3a72.zip
* added missing flag in ghc-makeghcilib function
Diffstat (limited to 'eclass/ghc-package.eclass')
-rw-r--r--eclass/ghc-package.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/ghc-package.eclass b/eclass/ghc-package.eclass
index 1688edc8db48..e0754f8d2a60 100644
--- a/eclass/ghc-package.eclass
+++ b/eclass/ghc-package.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ghc-package.eclass,v 1.3 2004/11/04 13:13:59 kosmikus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ghc-package.eclass,v 1.4 2004/11/04 14:16:14 kosmikus Exp $
#
# Author: Andres Loeh <kosmikus@gentoo.org>
#
@@ -55,7 +55,7 @@ ghc-localpkgconf() {
ghc-makeghcilib() {
local outfile
outfile="$(dirname $1)/$(basename $1 | sed 's:^lib\?\(.*\)\.a$:\1.o:')"
- ld --relocatable --discard-all --output="${outfile}" $1
+ ld --relocatable --discard-all --output="${outfile}" --whole-archive $1
}
# creates a local (package-specific) package