Skip to content

Commit

Permalink
add linux cross build scripts -> amd64
Browse files Browse the repository at this point in the history
  • Loading branch information
valord577 committed Sep 5, 2024
1 parent e1a15ba commit ec98753
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions crossbuild_linux_amd64.sh
4 changes: 4 additions & 0 deletions env-linux-cross.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ case ${TARGET_ARCH} in
__TARGET_ARCH__="aarch64"
__TARGET_TRIPLE__="aarch64-unknown-linux-gnu"
;;
"amd64")
__TARGET_ARCH__="x86_64"
__TARGET_TRIPLE__="x86_64-pc-linux-gnu"
;;
*)
printf "\e[1m\e[31m%s\e[0m\n" "Unsupported TARGET ARCH: '${TARGET_ARCH}'."
exit 1
Expand Down

0 comments on commit ec98753

Please sign in to comment.