git.y1.nz

gbdk-2020

GameBoy Development Kit
download: https://git.y1.nz/archives/gbdk.tar.gz
README | Files | Log | Refs | LICENSE

commit 4ff8549fda7d9262c38f61f2f74c75970706e40a
parent 6192c9e97c24a6bb0843dd15f1ce16a0ce970d85
Author: Toxa <untoxa@mail.ru>
Date:   Sun, 19 Jan 2025 02:25:53 +0300

force --no-optsdcc-in-asm while building the library and in the lcc

Diffstat:
Mgbdk-lib/Makefile.common1+
Mgbdk-support/lcc/gb.c2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/gbdk-lib/Makefile.common b/gbdk-lib/Makefile.common @@ -26,6 +26,7 @@ CFLAGS = -I$(TOPDIR)/include -D__PORT_$(PORT) -D__TARGET_$(THIS) CFLAGS += -m$(PORT) CFLAGS += --max-allocs-per-node 50000 CFLAGS += --fsigned-char +CFLAGS += --no-optsdcc-in-asm CC = $(SCC) BUILD = $(TOPDIR)/build/$(THIS) LIB = $(BUILD)/$(THIS).lib diff --git a/gbdk-support/lcc/gb.c b/gbdk-support/lcc/gb.c @@ -46,7 +46,7 @@ static struct { { "comopt", "--noinvariant --noinduction" }, { "com", "%sdccdir%sdcc" }, { "comflag", "-c"}, - { "comdefault", "-m%port% --no-std-crt0 --fsigned-char --use-stdout -D__PORT_%port% -D__TARGET_%plat% "}, + { "comdefault", "-m%port% --no-std-crt0 --fsigned-char --use-stdout --no-optsdcc-in-asm -D__PORT_%port% -D__TARGET_%plat% "}, /* asdsgb assembler defaults: -p: disable pagination -o: create object file

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.