Skip to content

Commit

Permalink
O3/LTO
Browse files Browse the repository at this point in the history
  • Loading branch information
Craftyawesome committed Jun 3, 2024
1 parent 0f9401a commit e06aa19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sdl/SRB2Switch/Makefile.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ CFLAGS += `$(PKG_CONFIG) --cflags sdl2 zlib`

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

# stubbed
SDL_CONFIG=/bin/true
Expand Down

0 comments on commit e06aa19

Please sign in to comment.