mirror of
https://github.com/isar/libmdbx.git
synced 2024-12-30 02:24:14 +08:00
mdbx-make: add CFLAGS_EXTRA for convenience.
Change-Id: I838f5b60cf9479e230a74da1bf80d30a8a7b437e
This commit is contained in:
parent
129597bbed
commit
9b94e45e25
@ -19,9 +19,10 @@ mandir ?= $(prefix)/man
|
|||||||
suffix ?=
|
suffix ?=
|
||||||
|
|
||||||
CC ?= gcc
|
CC ?= gcc
|
||||||
|
CFLAGS_EXTRA ?=
|
||||||
LD ?= ld
|
LD ?= ld
|
||||||
MDBX_OPTIONS ?= -DNDEBUG=1
|
MDBX_OPTIONS ?= -DNDEBUG=1
|
||||||
CFLAGS ?= -O2 -g -Wall -Werror -Wextra -Wpedantic -ffunction-sections -fPIC -fvisibility=hidden -std=gnu11 -pthread -Wno-error=attributes
|
CFLAGS ?= -O2 -g -Wall -Werror -Wextra -Wpedantic -ffunction-sections -fPIC -fvisibility=hidden -std=gnu11 -pthread -Wno-error=attributes $(CFLAGS_EXTRA)
|
||||||
# -Wno-tautological-compare
|
# -Wno-tautological-compare
|
||||||
|
|
||||||
# HINT: Try append '--no-as-needed,-lrt' for ability to built with modern glibc, but then run with the old.
|
# HINT: Try append '--no-as-needed,-lrt' for ability to built with modern glibc, but then run with the old.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user