mirror of
https://github.com/isar/libmdbx.git
synced 2025-08-19 19:39:26 +08:00
lmdb: minor Makefile update, CFLAGS from environment.
Change-Id: I1c36f6bbc064136b404b5de18a88961309883018
This commit is contained in:
10
Makefile
10
Makefile
@@ -17,14 +17,10 @@
|
||||
# There may be other macros in mdb.c of interest. You should
|
||||
# read mdb.c before changing any of them.
|
||||
#
|
||||
CC = gcc
|
||||
W = -Wall -Werror -Wno-unused-parameter
|
||||
THREADS = -pthread
|
||||
XCFLAGS ?= $(CFLAGS)
|
||||
OPT = -O2 -g
|
||||
CFLAGS := $(THREADS) $(OPT) $(W) $(XCFLAGS)
|
||||
CC ?= gcc
|
||||
CFLAGS ?= -O2 -g -Wall -Werror -Wno-unused-parameter
|
||||
CFLAGS += -pthread
|
||||
LDLIBS = -lrt
|
||||
SOLIBS =
|
||||
prefix ?= /usr/local
|
||||
|
||||
########################################################################
|
||||
|
Reference in New Issue
Block a user