summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 25cfbfb..57b2ad6 100644
--- a/Makefile
+++ b/Makefile
@@ -162,6 +162,14 @@ pushtest: release
rt-tests.spec: Makefile rt-tests.spec-in
sed s/__VERSION__/$(VERSION_STRING)/ <$@-in >$@
+ifeq ($(NUMA),1)
+ sed -i -e 's/__MAKE_NUMA__/NUMA=1/' $@
+ sed -i -e 's/__BUILDREQUIRES_NUMA__/numactl-devel/' $@
+else
+ sed -i -e 's/__MAKE_NUMA__//' $@
+ sed -i -e 's/__BUILDREQUIRES_NUMA__//' $@
+endif
+
HERE := $(shell pwd)
RPMARGS := --define "_topdir $(HERE)" \