From fde367d91f696f712ed0b70e74656656d00237df Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 4 Feb 2002 10:52:28 +0000 Subject: Fixup arch substitution --- test/Rules.mak | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/test/Rules.mak b/test/Rules.mak index 8c945afe9..05f44c780 100644 --- a/test/Rules.mak +++ b/test/Rules.mak @@ -10,8 +10,18 @@ include $(TESTDIR)../Config include $(TESTDIR)Config -NATIVE_ARCH = ${shell uname -m | sed -e 's/i.86/i386/' -e 's/sparc.*/sparc/' \ - -e 's/arm.*/arm/g' -e 's/m68k.*/m68k/' -e 's/ppc/powerpc/'} +# Use NATIVE_ARCH here since running these test is not +# even possible when cross compiling... +NATIVE_ARCH = ${shell uname -m | sed \ + -e 's/i.86/i386/' \ + -e 's/sparc.*/sparc/' \ + -e 's/arm.*/arm/g' \ + -e 's/m68k.*/m68k/' \ + -e 's/ppc/powerpc/g' \ + -e 's/v850.*/v850/g' \ + -e 's/sh[234].*/sh/' \ + -e 's/mips.*/mips/' \ + } # If you are running a cross compiler, you may want to set this # to something more interesting... -- cgit v1.2.3