mirror of
https://github.com/isar/libmdbx.git
synced 2024-12-29 09:08:50 +08:00
lmdb: minor Makefile update, CFLAGS from environment.
Change-Id: I1c36f6bbc064136b404b5de18a88961309883018
This commit is contained in:
parent
16a30be8fc
commit
abda67f23e
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
|
||||
|
||||
########################################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user