Remove unsupported weak pragma for Windows builds.
This commit is contained in:
parent
d9e619d8a1
commit
0523bcc06d
1
build.sh
1
build.sh
|
@ -36,6 +36,7 @@ MSYS_NT*|MINGW*) # MSYS2 on Windows
|
||||||
else
|
else
|
||||||
UXNEMU_LDFLAGS="-static $(sdl2-config --cflags --static-libs)"
|
UXNEMU_LDFLAGS="-static $(sdl2-config --cflags --static-libs)"
|
||||||
fi
|
fi
|
||||||
|
sed -i -e '/^#pragma weak /d' src/devices/ppu.c
|
||||||
;;
|
;;
|
||||||
Darwin) # macOS
|
Darwin) # macOS
|
||||||
CFLAGS="${CFLAGS} -Wno-typedef-redefinition"
|
CFLAGS="${CFLAGS} -Wno-typedef-redefinition"
|
||||||
|
|
Loading…
Reference in New Issue