From 222772f6bbd042801e7eefeb3aee8ecfc2113f6e Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 15 Jun 2018 15:22:54 +0200 Subject: [PATCH] Remove -ffunction-sections and -fdata-sections compile flags. They're only of minor benefit. Simpler build systems are better. --- Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Makefile b/Makefile index ef10598..7284f51 100644 --- a/Makefile +++ b/Makefile @@ -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