Added NOSHM flag to non-library Makefile.
This commit is contained in:
parent
e70a5c106d
commit
4a51a0e60e
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -13,6 +13,10 @@ endif
|
||||||
CPPFLAGS = -Wall -g -O2
|
CPPFLAGS = -Wall -g -O2
|
||||||
override CPPFLAGS += -funsigned-char -DDEBUG="$(DEBUG)" -DPACKAGE_VERSION="\"$(PACKAGE_VERSION)\"" -DRELEASE="\"$(RELEASE)\""
|
override CPPFLAGS += -funsigned-char -DDEBUG="$(DEBUG)" -DPACKAGE_VERSION="\"$(PACKAGE_VERSION)\"" -DRELEASE="\"$(RELEASE)\""
|
||||||
|
|
||||||
|
ifndef NOSHM
|
||||||
|
override CPPFLAGS += -DSHM_ENABLED=1
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef WITH_THREADNAMES
|
ifdef WITH_THREADNAMES
|
||||||
override CPPFLAGS += -DWITH_THREADNAMES=1
|
override CPPFLAGS += -DWITH_THREADNAMES=1
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue