rosalina: screen_filter: save up around 10K using this simple trick

This commit is contained in:
TuxSH
2020-04-16 19:50:18 +01:00
parent c7551a731c
commit a67e8e60c6
3 changed files with 10 additions and 8 deletions

View File

@@ -29,7 +29,7 @@ ARCH := -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft
DEFINES := -DARM11 -D_3DS
CFLAGS := -g -std=gnu11 -Wall -Wextra -Werror -Wno-unused-value -O2 -mword-relocations \
-fomit-frame-pointer -ffunction-sections -fdata-sections \
-fomit-frame-pointer -ffunction-sections -fdata-sections -ffast-math \
$(ARCH) $(DEFINES)
CFLAGS += $(INCLUDE)
@@ -39,7 +39,7 @@ CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
ASFLAGS := -g $(ARCH)
LDFLAGS = -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map),--section-start,.text=0x14000000
LIBS := -lctru -lm
LIBS := -lctru
#---------------------------------------------------------------------------------
# list of directories containing libraries, this must be the top level containing