summarylogtreecommitdiffstats
path: root/shared-bpf.patch
diff options
context:
space:
mode:
authorMaarten de Boer2021-10-09 15:13:15 +0200
committerMaarten de Boer2021-10-09 15:19:07 +0200
commit19964d795f681395439385416a522360cc69eb23 (patch)
tree78326131fced2164ab5627a2442238a5085f088a /shared-bpf.patch
parent2c072ed75cc7053b93fe09d44637fbce66837e94 (diff)
downloadaur-19964d795f681395439385416a522360cc69eb23.tar.gz
Combine teleport and teleport-client into one split package and update to v7.2.1
Diffstat (limited to 'shared-bpf.patch')
-rw-r--r--shared-bpf.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/shared-bpf.patch b/shared-bpf.patch
new file mode 100644
index 000000000000..b2b17e1cfd0a
--- /dev/null
+++ b/shared-bpf.patch
@@ -0,0 +1,11 @@
+--- a/Makefile 2021-10-09 14:32:07.542062668 +0200
++++ b/Makefile 2021-10-09 14:32:02.011962129 +0200
+@@ -106,7 +106,7 @@
+ CLANG_BPF_SYS_INCLUDES = $(shell $(CLANG) -v -E - </dev/null 2>&1 \
+ | sed -n '/<...> search starts here:/,/End of search list./{ s| \(/.*\)|-idirafter \1|p }')
+
+-CGOFLAG = CGO_ENABLED=1 CGO_LDFLAGS="-Wl,-Bstatic -lbpf -lelf -lz -Wl,-Bdynamic"
++CGOFLAG = CGO_ENABLED=1 CGO_LDFLAGS="-Wl,-Bstatic -lelf -lz -Wl,-Bdynamic -lbpf"
+ endif
+ endif
+ endif