Re: [PATCH] check_gcc for i386

From: Alan Cox
Date: Sat Aug 30 2003 - 18:42:31 EST


On Sad, 2003-08-30 at 23:58, Marcelo Tosatti wrote:
> > ifdef CONFIG_MPENTIUM4
> > -CFLAGS += -march=i686
> > +CFLAGS += $(call check_gcc,-march=pentium4,-march=i686)
> > endif
> >
> > ifdef CONFIG_MK6
>
> OK, I forgot what that does. Can you please explain in detail what
> check_gcc does.

Tries to use gcc with the options given and if not falls back to the
second set suggested. So it'll try -march=pentium4 (new gcc) and
fall back to -march=i686

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/