mirror of
https://github.com/isar/libmdbx.git
synced 2025-10-10 14:32:23 +08:00
mdbx: adds -ffunction-sections for CFLAGS.
Change-Id: I38e24e9424b75424ff12e57f3906282338a95989
This commit is contained in:
2
Makefile
2
Makefile
@@ -24,7 +24,7 @@ suffix ?=
|
|||||||
|
|
||||||
CC ?= gcc
|
CC ?= gcc
|
||||||
XCFLAGS ?= -DNDEBUG=1 -DMDB_DEBUG=0
|
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)
|
CFLAGS += -std=gnu99 -pthread $(XCFLAGS)
|
||||||
|
|
||||||
# LY: for ability to built with modern glibc,
|
# LY: for ability to built with modern glibc,
|
||||||
|
Reference in New Issue
Block a user