diff options
author | Keri Harris <keri@gentoo.org> | 2018-09-03 13:36:17 +0200 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2018-09-03 13:36:33 +0200 |
commit | 5e188b0f18e9db395ae0e730ec25d14a8c4d18a7 (patch) | |
tree | 85fcc2dc8425f69cc84c917a9ce98b0bc79160d2 /dev-lang/gprolog | |
parent | media-plugins/vdr-satip: cleanup old; eapi 7; fixed bug 637620 (diff) | |
download | gentoo-5e188b0f18e9db395ae0e730ec25d14a8c4d18a7.tar.gz gentoo-5e188b0f18e9db395ae0e730ec25d14a8c4d18a7.tar.bz2 gentoo-5e188b0f18e9db395ae0e730ec25d14a8c4d18a7.zip |
dev-lang/gprolog: disable PIE as gplc generates native ASM
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-lang/gprolog')
-rw-r--r-- | dev-lang/gprolog/gprolog-1.4.5.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-lang/gprolog/gprolog-1.4.5.ebuild b/dev-lang/gprolog/gprolog-1.4.5.ebuild index 55a9c9558bba..7e7d7363ac9c 100644 --- a/dev-lang/gprolog/gprolog-1.4.5.ebuild +++ b/dev-lang/gprolog/gprolog-1.4.5.ebuild @@ -34,6 +34,11 @@ src_configure() { append-flags -fno-strict-aliasing use debug && append-flags -DDEBUG + if tc-enables-pie; then + # gplc generates its own native ASM; disable PIE + append-ldflags -no-pie + fi + cd "${S}"/src econf \ CFLAGS_MACHINE="${CFLAGS_MACHINE}" \ |