SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 48cc359f0cf2dc2e3b2dcc42276c39be549b60d1 parent 6549684e1f04ec5435f02f30cb0e88869ae3df8f Author: Lior Halphon <LIJI32@gmail.com> Date: Wed, 11 Dec 2024 20:57:08 +0200 Fix Windows build Diffstat:
| M | Makefile | 6 | +++++- |
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile @@ -200,7 +200,11 @@ endif CFLAGS += $(WARNINGS) -CFLAGS += -std=gnu11 -D_GNU_SOURCE -DGB_VERSION='"$(VERSION)"' -DGB_COPYRIGHT_YEAR='"$(COPYRIGHT_YEAR)"' -I. -D_USE_MATH_DEFINES -fPIC +CFLAGS += -std=gnu11 -D_GNU_SOURCE -DGB_VERSION='"$(VERSION)"' -DGB_COPYRIGHT_YEAR='"$(COPYRIGHT_YEAR)"' -I. -D_USE_MATH_DEFINES +ifneq ($(PLATFORM),windows32) +CFLAGS += -fPIC +endif + ifneq (,$(UPDATE_SUPPORT)) CFLAGS += -DUPDATE_SUPPORT endif
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.