commit 0523bcc06d1eece8bf72941e93be760d9d39ff8d
parent d9e619d8a188dbfbb63de81b0f8313b6315e9e53
Author: Andrew Alderwick <andrew@alderwick.co.uk>
Date: Sun, 26 Dec 2021 23:07:27 +0000
Remove unsupported weak pragma for Windows builds.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/build.sh b/build.sh
@@ -36,6 +36,7 @@ MSYS_NT*|MINGW*) # MSYS2 on Windows
else
UXNEMU_LDFLAGS="-static $(sdl2-config --cflags --static-libs)"
fi
+ sed -i -e '/^#pragma weak /d' src/devices/ppu.c
;;
Darwin) # macOS
CFLAGS="${CFLAGS} -Wno-typedef-redefinition"