From 0523bcc06d1eece8bf72941e93be760d9d39ff8d Mon Sep 17 00:00:00 2001 From: Andrew Alderwick Date: Sun, 26 Dec 2021 23:07:27 +0000 Subject: [PATCH] Remove unsupported weak pragma for Windows builds. --- build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build.sh b/build.sh index 3c63ee3..2d1b181 100755 --- 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"