diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-09-08 10:50:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-09-08 10:50:14 +0100 |
commit | 3f71901f8c228f4de570abed1831ce3ee425343e (patch) | |
tree | a2dcd300d05ef8a2ec275b44a92a9d85bd3baa24 /dev-lang/gprolog/gprolog-1.4.5.ebuild | |
parent | 12bb627384ddfd47382b9f1b6464481a58d01ebb (diff) |
gentoo resync 08.09.2018
Diffstat (limited to 'dev-lang/gprolog/gprolog-1.4.5.ebuild')
-rw-r--r-- | dev-lang/gprolog/gprolog-1.4.5.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-lang/gprolog/gprolog-1.4.5.ebuild b/dev-lang/gprolog/gprolog-1.4.5.ebuild index b158b38e3fca..7e7d7363ac9c 100644 --- a/dev-lang/gprolog/gprolog-1.4.5.ebuild +++ b/dev-lang/gprolog/gprolog-1.4.5.ebuild @@ -23,6 +23,7 @@ src_prepare() { epatch "${FILESDIR}"/${P}-links.patch epatch "${FILESDIR}"/${P}-nodocs.patch epatch "${FILESDIR}"/${P}-txt-file.patch + epatch "${FILESDIR}"/${P}-check-boot.patch eapply_user } @@ -33,12 +34,18 @@ 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}" \ --with-c-flags="${CFLAGS}" \ --with-install-dir="${EPREFIX}"/usr/$(get_libdir)/${P} \ --with-links-dir="${EPREFIX}"/usr/bin \ + $(use_enable !x86 regs) \ $(use_with doc doc-dir "${EPREFIX}"/usr/share/doc/${PF}) \ $(use_with doc html-dir "${EPREFIX}"/usr/share/doc/${PF}/html) \ $(use_with examples examples-dir "${EPREFIX}"/usr/share/doc/${PF}/examples) |