mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-04 23:07:46 -04:00
(Clang) Linker fix
This commit is contained in:
parent
1c67828540
commit
f9020f359c
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -3,8 +3,10 @@ CFLAGS += -Wall -ggdb -falign-functions=2
|
|||
CFLAGS += -I.
|
||||
ifndef DEBUG
|
||||
CFLAGS += -O2 -DNDEBUG -ffunction-sections
|
||||
ifeq ($(findstring clang,$(CC)),)
|
||||
LDFLAGS += -Wl,--gc-sections
|
||||
endif
|
||||
endif
|
||||
#CFLAGS += -DEVT_LOG
|
||||
#CFLAGS += -DDRC_CMP
|
||||
#cpu_cmp = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue