diff options
Diffstat (limited to 'arch/mips/Makefile')
-rw-r--r-- | arch/mips/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 056aae597123..d51b2b49c78f 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -103,8 +103,8 @@ MODFLAGS += -mlong-calls | |||
103 | # carefully avoid to add it redundantly because gcc 3.3/3.4 complains | 103 | # carefully avoid to add it redundantly because gcc 3.3/3.4 complains |
104 | # when fed the toolchain default! | 104 | # when fed the toolchain default! |
105 | # | 105 | # |
106 | cflags-$(CONFIG_CPU_BIG_ENDIAN) += $(shell $(CC) -dumpmachine |grep -q 'mips*el-linux*' && echo -EB) | 106 | cflags-$(CONFIG_CPU_BIG_ENDIAN) += $(shell $(CC) -dumpmachine |grep -q 'mips.*el-linux.*' && echo -EB) |
107 | cflags-$(CONFIG_CPU_LITTLE_ENDIAN) += $(shell $(CC) -dumpmachine |grep -q 'mips*el-linux*' || echo -EL) | 107 | cflags-$(CONFIG_CPU_LITTLE_ENDIAN) += $(shell $(CC) -dumpmachine |grep -q 'mips.*el-linux.*' || echo -EL) |
108 | 108 | ||
109 | cflags-$(CONFIG_SB1XXX_CORELIS) += -mno-sched-prolog -fno-omit-frame-pointer | 109 | cflags-$(CONFIG_SB1XXX_CORELIS) += -mno-sched-prolog -fno-omit-frame-pointer |
110 | 110 | ||