Skip to content

Commit

Permalink
tools: cmake ARCH fix
Browse files Browse the repository at this point in the history
  • Loading branch information
woodpenker authored and anakryiko committed Sep 22, 2022
1 parent 79bde60 commit b9f5c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/cmake/FindBpfObject.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ endif()

# Get target arch
execute_process(COMMAND uname -m
COMMAND sed "s/x86_64/x86/"
COMMAND sed -e "s/x86_64/x86/" -e "s/aarch64/arm64/" -e "s/ppc64le/powerpc/" -e "s/mips.*/mips/"
OUTPUT_VARIABLE ARCH_output
ERROR_VARIABLE ARCH_error
RESULT_VARIABLE ARCH_result
Expand Down

0 comments on commit b9f5c3f

Please sign in to comment.