Turn on VBCC optimization so the compiler doesn't do too stupid stuff.
This commit is contained in:
parent
1c338e73c5
commit
be02c0fab0
|
@ -195,7 +195,7 @@ else
|
||||||
CFLAGS_EXTRA=-D__NOINLINE__
|
CFLAGS_EXTRA=-D__NOINLINE__
|
||||||
else
|
else
|
||||||
endif
|
endif
|
||||||
CFLAGS =-c -S -cpu=$(VBCC_CPU) +$(CFG_FILE) $(CFLAGS_EXTRA)
|
CFLAGS =-c -S -cpu=$(VBCC_CPU) +$(CFG_FILE) $(CFLAGS_EXTRA) -O2
|
||||||
LDFLAGS = +$(CFG_FILE)
|
LDFLAGS = +$(CFG_FILE)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -286,7 +286,7 @@ foenixmcp.s68: $(DEPS)
|
||||||
foenixmcp.bin: $(DEPS)
|
foenixmcp.bin: $(DEPS)
|
||||||
$(CC) $(LDFLAGS) -o $@ $(FILES_TO_LINK)
|
$(CC) $(LDFLAGS) -o $@ $(FILES_TO_LINK)
|
||||||
# TODO Test that the file is <= PAD_FLASH_SIZE bytes otherwise'll be slashing the OS !
|
# TODO Test that the file is <= PAD_FLASH_SIZE bytes otherwise'll be slashing the OS !
|
||||||
$(PAD_CMD)
|
# $(PAD_CMD)
|
||||||
|
|
||||||
# Rule for generating include file containing RLE-compressed version of BMP splashscreen
|
# Rule for generating include file containing RLE-compressed version of BMP splashscreen
|
||||||
# You need python3 installed obviously, and install some extra packages you can install with:
|
# You need python3 installed obviously, and install some extra packages you can install with:
|
||||||
|
|
Loading…
Reference in a new issue