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 += -Wall -ggdb -falign-functions=2
|
||||||
CFLAGS += -I.
|
CFLAGS += -I.
|
||||||
ifndef DEBUG
|
ifndef DEBUG
|
||||||
CFLAGS += -O3 -DNDEBUG -ffunction-sections
|
CFLAGS += -O3 -DNDEBUG
|
||||||
ifeq ($(findstring clang,$(CC)),)
|
|
||||||
LDFLAGS += -Wl,--gc-sections
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
#CFLAGS += -DEVT_LOG
|
#CFLAGS += -DEVT_LOG
|
||||||
#CFLAGS += -DDRC_CMP
|
#CFLAGS += -DDRC_CMP
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue