From 8b39b81320c43ffc04c23419a0b88e9abb7c002a Mon Sep 17 00:00:00 2001 From: Martyn Date: Wed, 3 Apr 2024 13:30:53 +0000 Subject: [PATCH] clang you want, clang you get. --- buildall.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/buildall.sh b/buildall.sh index b847e05..57f47ff 100644 --- a/buildall.sh +++ b/buildall.sh @@ -37,6 +37,8 @@ for i in $(seq 0 $(expr $(jq '. | length' < apps.json) - 1)); do echo "Building windows" echo "> cargo tauri build --target x86_64-pc-windows-msvc" echo "===================================================" + #note: only works on debianish + update-alternatives --install /usr/bin/cc cc /usr/bin/clang 100 cargo tauri build --target x86_64-pc-windows-msvc echo "================================================" echo "Building apple"