X-Git-Url: http://git.monstr.eu/?p=linux-2.6-microblaze.git;a=blobdiff_plain;f=arch%2Fmips%2FMakefile;h=1fb97579b6b4ab6d80c745c493da9367d18bf567;hp=6eaeee3fb46c31566c5058c867660b1b5fe2ee1a;hb=d6742212c0c6ccee2351499db80acba71fa36052;hpb=bea6a94a279bcbe6b2cde348782b28baf12255a5 diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 6eaeee3fb46c..1fb97579b6b4 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile @@ -321,7 +321,7 @@ KBUILD_LDFLAGS += -m $(ld-emul) ifdef CONFIG_MIPS CHECKFLAGS += $(shell $(CC) $(KBUILD_CFLAGS) -dM -E -x c /dev/null | \ - egrep -vw '__GNUC_(|MINOR_|PATCHLEVEL_)_' | \ + egrep -vw '__GNUC_(MINOR_|PATCHLEVEL_)?_' | \ sed -e "s/^\#define /-D'/" -e "s/ /'='/" -e "s/$$/'/" -e 's/\$$/&&/g') endif