mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-12 15:36:58 +02:00
dev-util/bpftool: Sync with Gentoo
It's from Gentoo commit 084ead622832443d32771a931014ecaef71f750c.
This commit is contained in:
parent
0c74734786
commit
4c23f994e3
@ -1,14 +0,0 @@
|
|||||||
|
|
||||||
https://bugs.gentoo.org/890638
|
|
||||||
|
|
||||||
--- a/tools/bpf/bpftool/Makefile 2022-12-11 23:15:18.000000000 +0100
|
|
||||||
+++ b/tools/bpf/bpftool/Makefile 2023-01-13 10:32:09.615048492 +0100
|
|
||||||
@@ -187,7 +187,7 @@ $(OUTPUT)%.bpf.o: skeleton/%.bpf.c $(OUT
|
|
||||||
-I$(or $(OUTPUT),.) \
|
|
||||||
-I$(srctree)/tools/include/uapi/ \
|
|
||||||
-I$(LIBBPF_BOOTSTRAP_INCLUDE) \
|
|
||||||
- -g -O2 -Wall -target bpf -c $< -o $@
|
|
||||||
+ -g -O2 -Wall -fno-stack-protector -target bpf -c $< -o $@
|
|
||||||
$(Q)$(LLVM_STRIP) -g $@
|
|
||||||
|
|
||||||
$(OUTPUT)%.skel.h: $(OUTPUT)%.bpf.o $(BPFTOOL_BOOTSTRAP)
|
|
Loading…
Reference in New Issue
Block a user