diff --git a/Makefile b/Makefile index 2ac31178f5d55dc8e9d7402faf487e5af914f47f..2643454925aaaa7184e6921462ff2d96c5a9e197 100644 --- a/Makefile +++ b/Makefile @@ -493,6 +493,7 @@ endif CLANG_FLAGS += -no-integrated-as KBUILD_CFLAGS += $(CLANG_FLAGS) KBUILD_AFLAGS += $(CLANG_FLAGS) +export CLANG_FLAGS endif RETPOLINE_CFLAGS_GCC := -mindirect-branch=thunk-extern -mindirect-branch-register