diff --git a/crossbuild_linux_amd64.sh b/crossbuild_linux_amd64.sh new file mode 120000 index 0000000..c07a74d --- /dev/null +++ b/crossbuild_linux_amd64.sh @@ -0,0 +1 @@ +build.sh \ No newline at end of file diff --git a/env-linux-cross.sh b/env-linux-cross.sh index d6ac17b..48fea29 100755 --- a/env-linux-cross.sh +++ b/env-linux-cross.sh @@ -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