X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=arch%2Fmips%2FMakefile;h=653befc1b1761fce59c053878806478c982556b9;hb=28bbbb9875a35975904e46f9b06fa689d051b290;hp=4e942b7ef022991180b5f1bf815f822422915eca;hpb=b6e473d1e21262290b8e1a023eff9f091ab8041b;p=linux-2.6-microblaze.git diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 4e942b7ef022..653befc1b176 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