notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b45bd3
)
(Clang) Linker fix
author
twinaphex
<libretro@gmail.com>
Tue, 10 Dec 2013 21:25:38 +0000
(22:25 +0100)
committer
twinaphex
<libretro@gmail.com>
Tue, 10 Dec 2013 21:25:38 +0000
(22:25 +0100)
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index
c199b85
..
d31779c
100644
(file)
--- a/
Makefile
+++ b/
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