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

This commit is contained in:
Toxa
2025-01-19 02:25:53 +03:00
parent 6192c9e97c
commit 4ff8549fda
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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