• V
    ARM: 7420/1: Improve build environment isolation · bcccc50c
    Vincent Sanders 提交于
    Increasingly distributions are setting default build environments to
    have LDFLAGS with hardening options. There seems to be an assumption
    with those options that LDFLAGS are passed to the compiler frontend
    rather than used directly with ld (which the kernel build process
    assumes)
    
    To prevent build failures in such environments this patch changes the
    ARM architecture Makefile to override the LDFLAGS from the environment
    similar to the behaviour on other common architectures e.g. x86
    Signed-off-by: NVincent Sanders <vince@collabora.co.uk>
    Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
    bcccc50c
Makefile 11.2 KB