Skip to content

Commit

Permalink
bpf: use gcc for linking BPF binaries (#4556)
Browse files Browse the repository at this point in the history
Use cross GCC for driving a link to binary.

refs #4408

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
  • Loading branch information
dkm authored and mattgodbolt committed Jan 24, 2023
1 parent 7d5c488 commit c1ce899
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions etc/config/c++.amazon.properties
Expand Up @@ -885,6 +885,7 @@ group.clangbpf.isSemVer=true
group.clangbpf.options=-target bpf
group.clangbpf.objdumper=/opt/compiler-explorer/clang-trunk/bin/llvm-objdump
group.clangbpf.objdumperType=llvm
group.clangbpf.options=--gcc-toolchain=/opt/compiler-explorer/bpf/gcc-trunk/bpf-unknown-none/

compiler.bpfclangtrunk.exe=/opt/compiler-explorer/clang-trunk/bin/clang
compiler.bpfclangtrunk.semver=(trunk)
Expand Down
1 change: 1 addition & 0 deletions etc/config/c.amazon.properties
Expand Up @@ -822,6 +822,7 @@ group.cclangbpf.isSemVer=true
group.cclangbpf.options=-target bpf
group.cclangbpf.objdumper=/opt/compiler-explorer/clang-trunk/bin/llvm-objdump
group.cclangbpf.objdumperType=llvm
group.cclangbpf.options=--gcc-toolchain=/opt/compiler-explorer/bpf/gcc-trunk/bpf-unknown-none/

compiler.cbpfclangtrunk.exe=/opt/compiler-explorer/clang-trunk/bin/clang
compiler.cbpfclangtrunk.semver=(trunk)
Expand Down

0 comments on commit c1ce899

Please sign in to comment.