diff options
author | Laura Abbott <labbott@redhat.com> | 2018-07-30 21:31:18 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-07-31 12:13:59 +0300 |
commit | ce279d374ff315264efcbcef75cc21b9fef8b36f (patch) | |
tree | 41c42990bcb86789bc6278ad3fe39cd5e1595c7d /arch/arm64/kernel | |
parent | d26de6c9f458f702b778731b7cb578ccd83623c9 (diff) | |
download | linux-ce279d374ff315264efcbcef75cc21b9fef8b36f.tar.xz |
efi/libstub: Only disable stackleak plugin for arm64
arm64 uses the full KBUILD_CFLAGS for building libstub as opposed
to x86 which doesn't. This means that x86 doesn't pick up
the gcc-plugins. We need to disable the stackleak plugin but
doing this unconditionally breaks x86 build since it doesn't
have any plugins. Switch to disabling the stackleak plugin for
arm64 only.
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel')
0 files changed, 0 insertions, 0 deletions