summaryrefslogtreecommitdiff
path: root/package/rt-tests
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-06-24 20:55:47 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-06-24 20:56:02 +0200
commitc4b7d1dccaf10a8a58003c5b02cf6c0f4333f051 (patch)
treee069429cc09e7522fc31418f0dd8c8d16463bd12 /package/rt-tests
parent3e062164f18dc0e2fd43357c0926e0db35dc6c54 (diff)
fix mipsel build
Diffstat (limited to 'package/rt-tests')
-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