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