diff --git a/tools/objtool/Makefile b/tools/objtool/Makefile index a43096f713c7..0a1f1559a621 100644 --- a/tools/objtool/Makefile +++ b/tools/objtool/Makefile @@ -59,7 +59,7 @@ $(OBJTOOL): $(LIBSUBCMD) $(OBJTOOL_IN) $(LIBSUBCMD): fixdep FORCE - $(Q)$(MAKE) -C $(SUBCMD_SRCDIR) OUTPUT=$(LIBSUBCMD_OUTPUT) + $(Q)$(MAKE) -C $(SUBCMD_SRCDIR) EXTRA_CFLAGS="${CFLAGS}" OUTPUT=$(LIBSUBCMD_OUTPUT) clean: $(call QUIET_CLEAN, objtool) $(RM) $(OBJTOOL)