author: Linus Torvalds <torvalds@linux-foundation.org> 2021-04-26 09:32:35 -0700
committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-04-26 09:32:35 -0700
commit: ca53fb2c7c7da99dc51e6c959c84c9b0aca4e040
parent: ea5bc7b977fc7cd2be4065ef41824adc976c807f
Commit Summary:
Diffstat:
1 file changed, 2 insertions, 1 deletion
diff --git a/drivers/firmware/efi/libstub/Makefile b/drivers/firmware/efi/libstub/Makefile
index c23466e05e60..d0537573501e 100644
--- a/drivers/firmware/efi/libstub/Makefile
+++ b/drivers/firmware/efi/libstub/Makefile
@@ -13,7 +13,8 @@ cflags-$(CONFIG_X86) += -m$(BITS) -D__KERNEL__ \
-Wno-pointer-sign \
$(call cc-disable-warning, address-of-packed-member) \
$(call cc-disable-warning, gnu) \
- -fno-asynchronous-unwind-tables
+ -fno-asynchronous-unwind-tables \
+ $(CLANG_FLAGS)
# arm64 uses the full KBUILD_CFLAGS so it's necessary to explicitly
# disable the stackleak plugin