Skip to content

Commit

Permalink
return of LTO
Browse files Browse the repository at this point in the history
likely works since 44ac5de
  • Loading branch information
Craftyawesome committed Jan 6, 2025
1 parent 71507da commit 919082a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdl/SRB2Switch/Makefile.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ CFLAGS += `$(PKG_CONFIG) --cflags sdl2 zlib`

MACHDEP =-march=armv8-a+crc+crypto -mtune=cortex-a57 -mtp=soft -fPIE -ffunction-sections -ftls-model=local-exec
OPTS+=-DSWITCH -D__SWITCH__ -DUNIXCOMMON -DNOTERMIOS -DNOHOME -D_DEBUG
CFLAGS+=-g -O3 -fsigned-char $(MACHDEP) $(INCLUDE)
CFLAGS+=-g -O3 -flto -flto-partition=one -fsigned-char $(MACHDEP) $(INCLUDE)
CXXFLAGS+=$(CFLAGS)
LDFLAGS+=-g $(MACHDEP) -Wl,-Map,$(BIN)/$(EXENAME).map

Expand Down

0 comments on commit 919082a

Please sign in to comment.