summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2010-01-17 17:56:26 +0000
committerThomas Sachau <tommy@gentoo.org>2010-01-17 17:56:26 +0000
commit07a8f04bd466c36a853f3281a033cbd995e319ba (patch)
treed7ee92828f2e3c610358eb5f1f447d6939223989 /dev-java
parentVersion bump (diff)
downloadgentoo-2-07a8f04bd466c36a853f3281a033cbd995e319ba.tar.gz
gentoo-2-07a8f04bd466c36a853f3281a033cbd995e319ba.tar.bz2
gentoo-2-07a8f04bd466c36a853f3281a033cbd995e319ba.zip
Add fPIC for amd64, fixes bug 301296
(Portage version: 2.2_rc61-r1/cvs/Linux x86_64)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/fec/ChangeLog5
-rw-r--r--dev-java/fec/fec-1.0.4.ebuild4
2 files changed, 6 insertions, 3 deletions
diff --git a/dev-java/fec/ChangeLog b/dev-java/fec/ChangeLog
index 2b8e7a69c3a9..06e675a1e084 100644
--- a/dev-java/fec/ChangeLog
+++ b/dev-java/fec/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/fec
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/fec/ChangeLog,v 1.7 2010/01/09 12:50:45 tommy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/fec/ChangeLog,v 1.8 2010/01/17 17:56:26 tommy Exp $
+
+ 17 Jan 2010; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> fec-1.0.4.ebuild:
+ Add -fPIC for amd64 ARCH too, bug 301296
*fec-1.0.4 (09 Jan 2010)
diff --git a/dev-java/fec/fec-1.0.4.ebuild b/dev-java/fec/fec-1.0.4.ebuild
index eb61b8679840..1486d91311f0 100644
--- a/dev-java/fec/fec-1.0.4.ebuild
+++ b/dev-java/fec/fec-1.0.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/fec/fec-1.0.4.ebuild,v 1.1 2010/01/09 12:50:45 tommy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/fec/fec-1.0.4.ebuild,v 1.2 2010/01/17 17:56:26 tommy Exp $
JAVA_PKG_IUSE="doc source"
@@ -45,7 +45,7 @@ src_unpack() {
src_compile() {
java-pkg-2_src_compile
cd "${S}"/src/csrc
- use hardened && append-flags -fPIC
+ (use amd64 || use hardened ) && append-flags -fPIC
emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" || die
}