[OE-core] why do we poison -Os?

Kumar Gala galak at kernel.crashing.org
Wed Aug 24 00:52:56 UTC 2011


Dongxiao,

Can you explain why this was needed:

commit ce456306dad3fdf42494830011dacae213c48edf
Author: Dongxiao Xu <dongxiao.xu at intel.com>
Date:   Sat Sep 25 10:16:26 2010 +0800

    gcc: enable poison parameters detection
    
    If not configured with --enable-target-optspace, gcc will report
    errors if there is '-Os' optimization in parameters.
    
    This fixes [BUGID #342]
    
    Also add "--enable-target-optspace" option to arm gcc configuration.
    
    Signed-off-by: Dongxiao Xu <dongxiao.xu at intel.com>


- k




More information about the Openembedded-core mailing list