From 84162df45ca32c27cc56be3c98b6f91abc00586e Mon Sep 17 00:00:00 2001 From: notaz Date: Fri, 13 Oct 2017 00:40:30 +0300 Subject: [PATCH] build: drop function-sections this has provoked people to do some horrible ifdeffery in libretro fork, while the benefit is minimal, if any. --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 45e3532..588475b 100644 --- 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 -- 2.39.2