Skip to content

Commit c04d1e4

Browse files
committed
kbuild: remove unused hostcc-option
We can re-add this whenever it is needed. At this moment, it is unused. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
1 parent 4645713 commit c04d1e4

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎scripts/Kbuild.include‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,6 @@ CC_OPTION_CFLAGS = $(filter-out $(GCC_PLUGINS_CFLAGS),$(KBUILD_CFLAGS))
125125
cc-option = $(call __cc-option, $(CC),\
126126
$(KBUILD_CPPFLAGS) $(CC_OPTION_CFLAGS),$(1),$(2))
127127

128-
# hostcc-option
129-
# Usage: cflags-y += $(call hostcc-option,-march=winchip-c6,-march=i586)
130-
hostcc-option = $(call __cc-option, $(HOSTCC),\
131-
$(KBUILD_HOSTCFLAGS) $(HOST_EXTRACFLAGS),$(1),$(2))
132-
133128
# cc-option-yn
134129
# Usage: flag := $(call cc-option-yn,-march=winchip-c6)
135130
cc-option-yn = $(call try-run,\

0 commit comments

Comments
 (0)