summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Mastbergen <brett.mastbergen@gmail.com>2020-06-09 23:35:06 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2020-06-10 13:40:04 +0200
commit47f6bc4ce1ff70d7ba0924c2f1c218c96cd585fb (patch)
tree287dcfb1d52a71ce1be41234f90e2af8f712d6f1
parentlibbpf: Handle GCC noreturn-turned-volatile quirk (diff)
downloadlinux-47f6bc4ce1ff70d7ba0924c2f1c218c96cd585fb.tar.xz
linux-47f6bc4ce1ff70d7ba0924c2f1c218c96cd585fb.zip
tools, bpf: Do not force gcc as CC
This allows transparent cross-compilation with CROSS_COMPILE by relying on 7ed1c1901fe5 ("tools: fix cross-compile var clobbering"). Same change was applied to tools/bpf/bpftool/Makefile in 9e88b9312acb ("tools: bpftool: do not force gcc as CC"). Signed-off-by: Brett Mastbergen <brett.mastbergen@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20200609213506.3299-1-brett.mastbergen@gmail.com
-rw-r--r--tools/bpf/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/bpf/Makefile b/tools/bpf/Makefile
index 77472e28c8fd..6df1850f8353 100644
--- a/tools/bpf/Makefile
+++ b/tools/bpf/Makefile
@@ -3,7 +3,6 @@ include ../scripts/Makefile.include
prefix ?= /usr/local
-CC = gcc
LEX = flex
YACC = bison
MAKE = make