mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
build: drop function-sections
this has provoked people to do some horrible ifdeffery in libretro fork, while the benefit is minimal, if any.
This commit is contained in:
parent
0bc8955485
commit
84162df45c
1 changed files with 1 additions and 4 deletions
5
Makefile
5
Makefile
|
@ -2,10 +2,7 @@ TARGET ?= PicoDrive
|
|||
CFLAGS += -Wall -ggdb -falign-functions=2
|
||||
CFLAGS += -I.
|
||||
ifndef DEBUG
|
||||
CFLAGS += -O3 -DNDEBUG -ffunction-sections
|
||||
ifeq ($(findstring clang,$(CC)),)
|
||||
LDFLAGS += -Wl,--gc-sections
|
||||
endif
|
||||
CFLAGS += -O3 -DNDEBUG
|
||||
endif
|
||||
#CFLAGS += -DEVT_LOG
|
||||
#CFLAGS += -DDRC_CMP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue