• T
    stackprotector: update make rules · 5d707e9c
    Tejun Heo 提交于
    Impact: no default -fno-stack-protector if stackp is enabled, cleanup
    
    Stackprotector make rules had the following problems.
    
    * cc support test and warning are scattered across makefile and
      kernel/panic.c.
    
    * -fno-stack-protector was always added regardless of configuration.
    
    Update such that cc support test and warning are contained in makefile
    and -fno-stack-protector is added iff stackp is turned off.  While at
    it, prepare for 32bit support.
    Signed-off-by: NTejun Heo <tj@kernel.org>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    5d707e9c
Makefile 53.2 KB