From: notaz Date: Thu, 12 Oct 2017 21:40:30 +0000 (+0300) Subject: build: drop function-sections X-Git-Tag: v1.93~56 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84162df45ca32c27cc56be3c98b6f91abc00586e;p=picodrive.git build: drop function-sections this has provoked people to do some horrible ifdeffery in libretro fork, while the benefit is minimal, if any. --- diff --git a/Makefile b/Makefile index 45e3532b..588475bd 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