mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Don't require gcc-multilib to be installed to build BPF
PiperOrigin-RevId: 474067220
This commit is contained in:
committed by
gVisor bot
parent
175282956a
commit
d2827e5a92
@@ -91,5 +91,5 @@ def bpf_program(name, src, bpf_object, visibility, hdrs):
|
||||
srcs = [src],
|
||||
visibility = visibility,
|
||||
outs = [bpf_object],
|
||||
cmd = "clang -O2 -Wall -Werror -target bpf -c $< -o $@",
|
||||
cmd = "clang -O2 -Wall -Werror -target bpf -c $< -o $@ -I/usr/include/$$(uname -m)-linux-gnu",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user