aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.modfinal
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2021-06-09 11:52:35 +0100
committerMark Brown <broonie@kernel.org>2021-06-09 11:52:35 +0100
commitc441bfb5f2866de71e092c1b9d866a65978dfe1a (patch)
tree51aca8f1e4b2de5819d4b83a4646f8448de75546 /scripts/Makefile.modfinal
parentASoC: rt711-sdca: handle mbq_regmap in rt711_sdca_io_init (diff)
parentLinux 5.13-rc3 (diff)
Merge tag 'v5.13-rc3' into asoc-5.13
Linux 5.13-rc3
Diffstat (limited to 'scripts/Makefile.modfinal')
-rw-r--r--scripts/Makefile.modfinal2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.modfinal b/scripts/Makefile.modfinal
index 735e11e9041b..dd87cea9fba7 100644
--- a/scripts/Makefile.modfinal
+++ b/scripts/Makefile.modfinal
@@ -23,7 +23,7 @@ modname = $(notdir $(@:.mod.o=))
part-of-module = y
quiet_cmd_cc_o_c = CC [M] $@
- cmd_cc_o_c = $(CC) $(c_flags) -c -o $@ $<
+ cmd_cc_o_c = $(CC) $(filter-out $(CC_FLAGS_CFI), $(c_flags)) -c -o $@ $<
%.mod.o: %.mod.c FORCE
$(call if_changed_dep,cc_o_c)