summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/gprolog/gprolog-1.4.4.ebuild')
-rw-r--r--dev-lang/gprolog/gprolog-1.4.4.ebuild6
1 files changed, 1 insertions, 5 deletions
diff --git a/dev-lang/gprolog/gprolog-1.4.4.ebuild b/dev-lang/gprolog/gprolog-1.4.4.ebuild
index 7116f2c8c4db..4d915c78666d 100644
--- a/dev-lang/gprolog/gprolog-1.4.4.ebuild
+++ b/dev-lang/gprolog/gprolog-1.4.4.ebuild
@@ -20,6 +20,7 @@ RDEPEND=""
src_prepare() {
epatch "${FILESDIR}"/${P}-ldflags.patch
+ epatch "${FILESDIR}"/${P}-pic-code.patch
epatch "${FILESDIR}"/${P}-links.patch
epatch "${FILESDIR}"/${P}-nodocs.patch
epatch "${FILESDIR}"/${P}-txt-file.patch
@@ -31,11 +32,6 @@ 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}" \