mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 00:34:13 +08:00
mdbx: adds -ffunction-sections for CFLAGS.
Change-Id: I38e24e9424b75424ff12e57f3906282338a95989
This commit is contained in:
parent
f8a14d7d54
commit
488ee06595
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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user