mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
some drawing code C optimisations
This commit is contained in:
parent
f6b4a9ca53
commit
f740428b81
5 changed files with 54 additions and 40 deletions
4
Makefile
4
Makefile
|
@ -5,6 +5,10 @@ CFLAGS += -I.
|
|||
ifeq "$(DEBUG)" "0"
|
||||
CFLAGS += -O3 -DNDEBUG
|
||||
endif
|
||||
ifeq ("$(PLATFORM)",$(filter "$(PLATFORM)","gp2x" "opendingux" "rpi1"))
|
||||
# very small caches, avoid optimization options making the binary much bigger
|
||||
CFLAGS += -finline-limit=42 -fno-unroll-loops -fno-ipa-cp-clone # -fno-ipa-cp
|
||||
endif
|
||||
|
||||
# This is actually needed, bevieve me.
|
||||
# If you really have to disable this, set NO_ALIGN_FUNCTIONS elsewhere.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue