Browse Source

fix mipsel build

Waldemar Brodkorb 10 years ago
parent
commit
c4b7d1dcca
1 changed files with 19 additions and 0 deletions
  1. 19 0
      package/rt-tests/patches/patch-Makefile

+ 19 - 0
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