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:
0bc8955
)
build: drop function-sections
author
notaz
<notasas@gmail.com>
Thu, 12 Oct 2017 21:40:30 +0000
(
00:40
+0300)
committer
notaz
<notasas@gmail.com>
Fri, 13 Oct 2017 21:53:09 +0000
(
00:53
+0300)
this has provoked people to do some horrible ifdeffery in libretro fork,
while the benefit is minimal, if any.
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index
45e3532
..
588475b
100644
(file)
--- a/
Makefile
+++ b/
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