[LinuxBIOS] Fwd: Possible stack protect solutions (RESEND)
mylesgw at gmail.com
Thu Jan 10 17:28:17 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.
> linuxbios mailing list
> linuxbios at linuxbios.org
More information about the coreboot