diff options
author | Alexei Starovoitov | 2018-06-05 04:53:41 +0200 |
---|---|---|
committer | David S. Miller | 2018-06-05 16:21:18 +0200 |
commit | 819dd92b9c0bc7bce9097d8c1f14240f471bb386 (patch) | |
tree | 6339c2d655bd680026f1bc56f2f8798a2088a577 /net/bpfilter | |
parent | net/mlx5e: fix error return code in mlx5e_alloc_rq() (diff) | |
download | kernel-qcow2-linux-819dd92b9c0bc7bce9097d8c1f14240f471bb386.tar.gz kernel-qcow2-linux-819dd92b9c0bc7bce9097d8c1f14240f471bb386.tar.xz kernel-qcow2-linux-819dd92b9c0bc7bce9097d8c1f14240f471bb386.zip |
bpfilter: switch to CC from HOSTCC
check that CC can build executables and use that compiler instead of HOSTCC
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bpfilter')
-rw-r--r-- | net/bpfilter/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/bpfilter/Makefile b/net/bpfilter/Makefile index 3f3cb87c668f..aafa72001fcd 100644 --- a/net/bpfilter/Makefile +++ b/net/bpfilter/Makefile @@ -6,6 +6,8 @@ hostprogs-y := bpfilter_umh bpfilter_umh-objs := main.o HOSTCFLAGS += -I. -Itools/include/ -Itools/include/uapi +HOSTCC := $(CC) + ifeq ($(CONFIG_BPFILTER_UMH), y) # builtin bpfilter_umh should be compiled with -static # since rootfs isn't mounted at the time of __init |