[LinuxBIOS] Fwd: Possible stack protect solutions (RESEND)

Myles Watson myles at pel.cs.byu.edu
Thu Jan 10 17:31:45 CET 2008


On Jan 3, 2008 10:30 AM, ron minnich <rminnich at gmail.com> wrote:
> On Jan 3, 2008 9:12 AM, Stefan Reinauer <stepan at coresystems.de> wrote:
> > * ron minnich <rminnich at gmail.com> [080103 17:25]:
> > > This patch will enable setting distro variables such as
> > > -fno_stack_protector as needed. It is a simple patch to  buildtarget
> > > and can be extended for other uses.
> > >
> > > If this patch is acceptable then we can fix the various makefiles to
> > > include the variable.
> > >
> > > The only remaining question is the name -- is CPU_OPT really appropriate?
> >
> > Why not make it CFLAGS? The C compiler is called CC in our environment,
> > too.
>
>
> like this?
>
> Tested on FC8 and works fine.

This patch adds -fno-stack-protector to my FLAGS too, even though I
don't need them.  It still builds, with or without the patch.

Myles

> ron
>
> --

> linuxbios mailing list
> linuxbios at linuxbios.org
> http://www.linuxbios.org/mailman/listinfo/linuxbios
>




More information about the coreboot mailing list