mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
sys-devel/dev86: try harder to use gnu89 in 0.16.21
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -37,10 +37,11 @@ src_prepare() {
|
||||
makefile.in || die
|
||||
fi
|
||||
|
||||
sed -i -e "s|-O2 -g|${CFLAGS}|" -e '/INEXE=/s:-s::' makefile.in || die
|
||||
sed -i -e "s|-O2 -g|${CFLAGS} -std=gnu89|" -e '/INEXE=/s:-s::' makefile.in || die
|
||||
sed -i -e "s:/lib/:/$(get_libdir)/:" bcc/bcc.c || die
|
||||
sed -i -e '/INSTALL_OPTS=/s:-s::' bin86/Makefile || die
|
||||
sed -i -e '/install -m 755 -s/s:-s::' dis88/Makefile || die
|
||||
sed -i -e 's:CFLAGS=-O:CFLAGS=-O -std=gnu89:' dis88/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
@@ -63,7 +64,7 @@ src_compile() {
|
||||
|
||||
cd bootblocks || die
|
||||
emake \
|
||||
HOSTCC="$(tc-getCC)"
|
||||
HOSTCC="$(tc-getCC) -std=gnu89"
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user