mdbx: adds -ffunction-sections for CFLAGS.

Change-Id: I38e24e9424b75424ff12e57f3906282338a95989
This commit is contained in:
Leo Yuriev 2017-01-08 21:47:26 +03:00
parent f8a14d7d54
commit 488ee06595

View File

@ -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,