arm asm syntax fixes for open2x

This commit is contained in:
kub 2019-03-20 19:07:16 +01:00
parent 340e528ff8
commit 2c479106af
3 changed files with 11 additions and 16 deletions

View file

@ -1,9 +1,9 @@
TARGET ?= PicoDrive
DEBUG ?= 0
CFLAGS += -Wall -g
CFLAGS += -Wall -ggdb -ffunction-sections -fdata-sections
CFLAGS += -I.
ifeq "$(DEBUG)" "0"
CFLAGS += -O3 -DNDEBUG
CFLAGS += -O2 -finline-functions -DNDEBUG
endif
# This is actually needed, bevieve me.
@ -11,6 +11,7 @@ endif
ifndef NO_ALIGN_FUNCTIONS
CFLAGS += -falign-functions=2
endif
LDFLAGS += -Wl,--gc-sections
all: config.mak target_