[LinuxBIOS] Fwd: Possible stack protect solutions (RESEND)
ron minnich
rminnich at gmail.com
Thu Jan 3 17:25:12 CET 2008
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?
Signed-off-by: Ronald G. Minnich <rminnich at gmail.com>
---------- Forwarded message ----------
From: ron minnich <rminnich at gmail.com>
Date: Dec 20, 2007 11:24 AM
Subject: Re: [LinuxBIOS] Possible stack protect solutions
To: Jordan Crouse <jordan.crouse at amd.com>
Cc: linuxbios at linuxbios.org
Try this. This patch to buildtarget
1. sets up cpu opt for the no stack protector thing
2. sets up the makefiles for the target
3. the target builds
But it's not picking up CPU_OPT. So we MUST have the other patch that
ALWAYS includes CPU_OPT.
That said, I'd rather make the variable DISTRO_CC_OPT or some such.
Thanks
ron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildtarget.diff
Type: text/x-patch
Size: 661 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080103/1cdf0a3d/attachment.diff>
More information about the coreboot
mailing list