summaryrefslogtreecommitdiff
path: root/package/rt-tests/patches/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/rt-tests/patches/patch-Makefile')
-rw-r--r--package/rt-tests/patches/patch-Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/rt-tests/patches/patch-Makefile b/package/rt-tests/patches/patch-Makefile
new file mode 100644
index 000000000..4f5070621
--- /dev/null
+++ b/package/rt-tests/patches/patch-Makefile
@@ -0,0 +1,19 @@
+--- rt-tests-3fed00ff8d2c0cdbc5ba078cbd60ce3cfcee615f.orig/Makefile 2015-06-18 11:11:57.000000000 +0200
++++ rt-tests-3fed00ff8d2c0cdbc5ba078cbd60ce3cfcee615f/Makefile 2015-06-19 00:27:05.000000000 +0200
+@@ -19,11 +19,11 @@ bindir ?= $(prefix)/bin
+ mandir ?= $(prefix)/share/man
+ srcdir ?= $(prefix)/src
+
+-machinetype = $(shell $(CC) -dumpmachine | \
+- sed -e 's/-.*//' -e 's/i.86/i386/' -e 's/mips.*/mips/' -e 's/ppc.*/powerpc/')
+-ifneq ($(filter x86_64 i386 ia64 mips powerpc,$(machinetype)),)
+-NUMA := 1
+-endif
++#machinetype = $(shell $(CC) -dumpmachine | \
++# sed -e 's/-.*//' -e 's/i.86/i386/' -e 's/mips.*/mips/' -e 's/ppc.*/powerpc/')
++#ifneq ($(filter x86_64 i386 ia64 mips powerpc,$(machinetype)),)
++#NUMA := 1
++#endif
+
+ CFLAGS ?= -Wall -Wno-nonnull
+ CPPFLAGS += -D_GNU_SOURCE -Isrc/include