firmware/br-ext-chip-allwinner/board/v83x/kernel/patches/00000-scripts_Makefile.host...

17 lines
715 B
Diff

diff -drupN a/scripts/Makefile.host b/scripts/Makefile.host
--- a/scripts/Makefile.host 2018-08-06 17:23:04.000000000 +0300
+++ b/scripts/Makefile.host 2022-06-12 05:28:14.000000000 +0300
@@ -20,12 +20,6 @@
# Will compile qconf as a C++ program, and menu as a C program.
# They are linked as C++ code to the executable qconf
-# hostcc-option
-# Usage: cflags-y += $(call hostcc-option,-march=winchip-c6,-march=i586)
-
-hostcc-option = $(call try-run,\
- $(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) $(1) -c -x c /dev/null -o "$$TMP",$(1),$(2))
-
__hostprogs := $(sort $(hostprogs-y) $(hostprogs-m))
host-cshlib := $(sort $(hostlibs-y) $(hostlibs-m))
host-cxxshlib := $(sort $(hostcxxlibs-y) $(hostcxxlibs-m))