On Tue, Oct 28, 2014 at 10:59 PM, Scott Duplichan <sc...@notabs.org> wrote:
> Optimization is not enabled for x64 builds using gcc 4.4-4.9. For IA32
> builds, -Os (optimize for small code size) is used. Why is this? Apparently
> it is because variable argument list handling fails when gcc X64 optimization
> is enabled. The solution is an improvement to the patch of SVN rev 10440:
> http://sourceforge.net/p/edk2/mailman/message/25121111/

Related to gcc flags, should we also enable -ffreestanding by default,
or at least -fno-builtin?

-- 
Bruce

------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to