summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-03-08 22:46:08 -0500
committerMike Frysinger <vapier@gentoo.org>2016-03-08 22:46:32 -0500
commitf01eb1e0f70f1827c9bcde88b6db5ae4f1e4116a (patch)
tree9247a5082e3b7e06cd05fc37ae7b8e5d1f9e73b2 /dev-libs
parentwww-client/opera-beta: Version bump. (diff)
downloadgentoo-f01eb1e0f70f1827c9bcde88b6db5ae4f1e4116a.tar.gz
gentoo-f01eb1e0f70f1827c9bcde88b6db5ae4f1e4116a.tar.bz2
gentoo-f01eb1e0f70f1827c9bcde88b6db5ae4f1e4116a.zip
dev-libs/libx86: build w/-fno-delete-null-pointer-checks #523276
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libx86/libx86-1.1-r3.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-libs/libx86/libx86-1.1-r3.ebuild b/dev-libs/libx86/libx86-1.1-r3.ebuild
index 26eea6a29a03..8c9eb19a20f7 100644
--- a/dev-libs/libx86/libx86-1.1-r3.ebuild
+++ b/dev-libs/libx86/libx86-1.1-r3.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit eutils multilib toolchain-funcs
+inherit eutils multilib toolchain-funcs flag-o-matic
DESCRIPTION="A hardware-independent library for executing real-mode x86 code"
HOMEPAGE="http://www.codon.org.uk/~mjg59/libx86"
@@ -20,8 +20,11 @@ src_prepare() {
epatch "${FILESDIR}"/${PN}-0.99-ifmask.patch
# Patch for bugs #236888 and #456648
epatch "${FILESDIR}"/${P}-makefile.patch
+}
+src_configure() {
tc-export CC AR
+ append-flags -fno-delete-null-pointer-checks #523276
}
src_compile() {