summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2012-05-07 09:13:10 +0000
committerKeri Harris <keri@gentoo.org>2012-05-07 09:13:10 +0000
commit193fccb45aa163dd0bd7d6720298ca745eabdf13 (patch)
tree34d988b181d3fa1d6714328c6afa79a0224e5e14 /dev-lang/gprolog
parentVersion bump. (diff)
downloadgentoo-2-193fccb45aa163dd0bd7d6720298ca745eabdf13.tar.gz
gentoo-2-193fccb45aa163dd0bd7d6720298ca745eabdf13.tar.bz2
gentoo-2-193fccb45aa163dd0bd7d6720298ca745eabdf13.zip
gplc generates its own native ASM; disable PIE. Closes #403693
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/gprolog')
-rw-r--r--dev-lang/gprolog/ChangeLog5
-rw-r--r--dev-lang/gprolog/gprolog-1.4.0.ebuild7
2 files changed, 10 insertions, 2 deletions
diff --git a/dev-lang/gprolog/ChangeLog b/dev-lang/gprolog/ChangeLog
index ebb650f09afc..a66585568c9b 100644
--- a/dev-lang/gprolog/ChangeLog
+++ b/dev-lang/gprolog/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/gprolog
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/gprolog/ChangeLog,v 1.54 2012/03/01 13:21:02 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gprolog/ChangeLog,v 1.55 2012/05/07 09:13:10 keri Exp $
+
+ 05 May 2012; <keri@gentoo.org> gprolog-1.4.0.ebuild:
+ gplc generates its own native ASM; disable PIE. Closes #403693
01 Mar 2012; <keri@gentoo.org> -gprolog-1.3.1.ebuild,
-gprolog-1.3.1-r1.ebuild, -files/gprolog-1.3.1-CFLAGS_MACHINE.patch,
diff --git a/dev-lang/gprolog/gprolog-1.4.0.ebuild b/dev-lang/gprolog/gprolog-1.4.0.ebuild
index 8c498ef7365d..2ce0102df3be 100644
--- a/dev-lang/gprolog/gprolog-1.4.0.ebuild
+++ b/dev-lang/gprolog/gprolog-1.4.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/gprolog/gprolog-1.4.0.ebuild,v 1.8 2012/02/01 17:44:43 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gprolog/gprolog-1.4.0.ebuild,v 1.9 2012/05/07 09:13:10 keri Exp $
EAPI=2
@@ -32,6 +32,11 @@ src_configure() {
append-flags -fno-strict-aliasing
use debug && append-flags -DDEBUG
+ if gcc-specs-pie ; then
+ # gplc generates its own native ASM; disable PIE
+ append-ldflags -nopie
+ fi
+
cd "${S}"/src
econf \
CFLAGS_MACHINE="${CFLAGS_MACHINE}" \