mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-11 11:47:02 +02:00
dev86: fix build with gcc14
This commit is contained in:
parent
d09023ea25
commit
4f76a36e8d
1 changed files with 4 additions and 0 deletions
|
@ -17,6 +17,10 @@ pre_build() {
|
|||
libc/bios; do
|
||||
sed -i -e "s|\$(CCFLAGS) ||g" ${wrksrc}/${f}/Makefile
|
||||
done
|
||||
|
||||
# Force gnu89 as dev86 mixes k&r style
|
||||
vsed -i -e "s|CFLAGS =|CFLAGS=-std=gnu89 |g" makefile.in
|
||||
vsed -i -e 's|CFLAGS=|CFLAGS=-std=gnu89 |g' dis88/Makefile
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
Loading…
Add table
Reference in a new issue