mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
arm asm syntax fixes for open2x
This commit is contained in:
parent
340e528ff8
commit
2c479106af
3 changed files with 11 additions and 16 deletions
5
Makefile
5
Makefile
|
@ -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_
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue