From c6565914c440e7d8d9342fa087a2a0965c8d3154 Mon Sep 17 00:00:00 2001 From: Thiemo Seufer Date: Thu, 7 Jul 2005 11:18:49 +0000 Subject: [PATCH] --- yaml --- r: 11133 b: refs/heads/master c: 73f74e23a6d9f3aabccf966c18cff04a74afed7f h: refs/heads/master i: 11131: d7580a60b5f1732182b2880785a7df9f99d1ba33 v: v3 --- [refs] | 2 +- trunk/arch/mips/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 291aa024372d..05bec1bae096 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f425a6dce50475f08547d08763f707589478b027 +refs/heads/master: 73f74e23a6d9f3aabccf966c18cff04a74afed7f diff --git a/trunk/arch/mips/Makefile b/trunk/arch/mips/Makefile index 056aae597123..d51b2b49c78f 100644 --- a/trunk/arch/mips/Makefile +++ b/trunk/arch/mips/Makefile @@ -103,8 +103,8 @@ MODFLAGS += -mlong-calls # carefully avoid to add it redundantly because gcc 3.3/3.4 complains # when fed the toolchain default! # -cflags-$(CONFIG_CPU_BIG_ENDIAN) += $(shell $(CC) -dumpmachine |grep -q 'mips*el-linux*' && echo -EB) -cflags-$(CONFIG_CPU_LITTLE_ENDIAN) += $(shell $(CC) -dumpmachine |grep -q 'mips*el-linux*' || echo -EL) +cflags-$(CONFIG_CPU_BIG_ENDIAN) += $(shell $(CC) -dumpmachine |grep -q 'mips.*el-linux.*' && echo -EB) +cflags-$(CONFIG_CPU_LITTLE_ENDIAN) += $(shell $(CC) -dumpmachine |grep -q 'mips.*el-linux.*' || echo -EL) cflags-$(CONFIG_SB1XXX_CORELIS) += -mno-sched-prolog -fno-omit-frame-pointer