mdbx-make: add CFLAGS_EXTRA for convenience.

Change-Id: I838f5b60cf9479e230a74da1bf80d30a8a7b437e
This commit is contained in:
Leonid Yuriev 2020-04-11 02:37:50 +03:00
parent 129597bbed
commit 9b94e45e25

View File

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