Remove -ffunction-sections and -fdata-sections compile flags.

They're only of minor benefit. Simpler build systems are better.
This commit is contained in:
Tor Andersson
2018-06-15 15:22:54 +02:00
parent ceac1b57d9
commit 222772f6bb
-2
View File
@@ -22,8 +22,6 @@ ifeq "$(CC)" "clang"
endif
ifeq "$(shell uname)" "Linux"
CFLAGS += -ffunction-sections -fdata-sections
LDFLAGS += -Wl,--gc-sections
HAVE_READLINE := yes
endif