diff options
author | Canop <cano.petrole@gmail.com> | 2023-08-03 20:34:21 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2023-08-03 20:34:21 +0200 |
commit | c0caf31c137fe25e33f1cdb7ecd5b3b5512d11f3 (patch) | |
tree | d66f215ee13d723a2320f292be571f0e4a132c0f | |
parent | 553e65c87df0fc3cbbaaa2d9fb832db47321f557 (diff) |
fix a cross-compilation problemv2.7.2
-rwxr-xr-x | compile-all-targets.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compile-all-targets.sh b/compile-all-targets.sh index 610ef09..4f4a004 100755 --- a/compile-all-targets.sh +++ b/compile-all-targets.sh @@ -38,6 +38,7 @@ cross_build() { name="$1" target="$2" echo -e "${H2}Compiling the $name / $target version${EH}" + cargo clean cross build --target "$target" --release mkdir "build/$target" cp "target/$target/release/dysk" "build/$target/" |