From 4a51a0e60efe23e503e1d97bc998842f05f0c390 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Thu, 15 Jan 2015 15:28:46 +0100 Subject: [PATCH] Added NOSHM flag to non-library Makefile. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 85781a22..2c5499dd 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,10 @@ endif CPPFLAGS = -Wall -g -O2 override CPPFLAGS += -funsigned-char -DDEBUG="$(DEBUG)" -DPACKAGE_VERSION="\"$(PACKAGE_VERSION)\"" -DRELEASE="\"$(RELEASE)\"" +ifndef NOSHM +override CPPFLAGS += -DSHM_ENABLED=1 +endif + ifdef WITH_THREADNAMES override CPPFLAGS += -DWITH_THREADNAMES=1 endif