Skip to content

Commit

Permalink
dev-libs/libx86: build w/-fno-delete-null-pointer-checks #523276
Browse files Browse the repository at this point in the history
  • Loading branch information
vapier committed Mar 9, 2016
1 parent 96377e6 commit f01eb1e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dev-libs/libx86/libx86-1.1-r3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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() {
Expand Down

0 comments on commit f01eb1e

Please sign in to comment.