dev-libs/libx86: build w/-fno-delete-null-pointer-checks #523276

This commit is contained in:
Mike Frysinger
2016-03-08 22:46:08 -05:00
parent 96377e6063
commit f01eb1e0f7

View File

@@ -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() {