dev86: fix build with gcc14
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user