From 2035336adb336dc6558dee4db112ef7218684a70 Mon Sep 17 00:00:00 2001 From: Atsushi Nemoto Date: Sat, 15 Apr 2006 00:04:18 +0900 Subject: [PATCH] --- yaml --- r: 26230 b: refs/heads/master c: 2a2c3e451965aca35c2d0d1b2db1dbd1d839c75e h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/mips/Makefile | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index bbdecc7ffb7b..e7984aabd6fc 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6f8782c4b2ed3cb652f1ad6b6d91890c7f2423ab +refs/heads/master: 2a2c3e451965aca35c2d0d1b2db1dbd1d839c75e diff --git a/trunk/arch/mips/Makefile b/trunk/arch/mips/Makefile index 69b9c1b8fafc..133900aca992 100644 --- a/trunk/arch/mips/Makefile +++ b/trunk/arch/mips/Makefile @@ -615,7 +615,10 @@ LDFLAGS += -m $(ld-emul) ifdef CONFIG_MIPS CHECKFLAGS += $(shell $(CC) $(CFLAGS) -dM -E -xc /dev/null | \ egrep -vw '__GNUC_(MAJOR|MINOR|PATCHLEVEL)__' | \ - sed -e 's/^\#define /-D/' -e 's/ /="/' -e 's/$$/"/') + sed -e 's/^\#define /-D/' -e "s/ /='/" -e "s/$$/'/") +ifdef CONFIG_64BIT +CHECKFLAGS += -m64 +endif endif OBJCOPYFLAGS += --remove-section=.reginfo