From 488ee065953321d431c9bad68bfe7ae20958a759 Mon Sep 17 00:00:00 2001 From: Leo Yuriev Date: Sun, 8 Jan 2017 21:47:26 +0300 Subject: [PATCH] mdbx: adds -ffunction-sections for CFLAGS. Change-Id: I38e24e9424b75424ff12e57f3906282338a95989 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 03105a62..66d7e278 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ suffix ?= CC ?= gcc XCFLAGS ?= -DNDEBUG=1 -DMDB_DEBUG=0 -CFLAGS ?= -O2 -g3 -Wall -Werror -Wextra +CFLAGS ?= -O2 -g3 -Wall -Werror -Wextra -ffunction-sections CFLAGS += -std=gnu99 -pthread $(XCFLAGS) # LY: for ability to built with modern glibc,