Made shared memory or shared files implementation a compile flag, fixed various compile warnings.
This commit is contained in:
parent
6d41cb96d5
commit
6a61b3be08
11 changed files with 102 additions and 139 deletions
4
Makefile
4
Makefile
|
@ -13,6 +13,10 @@ endif
|
|||
CPPFLAGS = -Wall -g -O2 -fPIC
|
||||
override CPPFLAGS += -funsigned-char -DDEBUG="$(DEBUG)" -DPACKAGE_VERSION="\"$(PACKAGE_VERSION)\""
|
||||
|
||||
ifndef NOSHM
|
||||
override CPPFLAGS += -DSHM_ENABLED=1
|
||||
endif
|
||||
|
||||
LDLIBS = -lcrypto
|
||||
THREADLIB = -lpthread -lrt
|
||||
LDLIBS = -lcrypto $(THREADLIB)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue