notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
frontend: eliminate osd_text dupes
[picodrive.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
0df793e
..
c199b85
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-2,7
+2,8
@@
TARGET ?= PicoDrive
CFLAGS += -Wall -ggdb -falign-functions=2
CFLAGS += -I.
ifndef DEBUG
-CFLAGS += -O2 -DNDEBUG
+CFLAGS += -O2 -DNDEBUG -ffunction-sections
+LDFLAGS += -Wl,--gc-sections
endif
#CFLAGS += -DEVT_LOG
#CFLAGS += -DDRC_CMP