diff options
-rw-r--r-- | tools/build-toolchains.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/build-toolchains.sh b/tools/build-toolchains.sh index 2f0c0ac..ae46dfe 100644 --- a/tools/build-toolchains.sh +++ b/tools/build-toolchains.sh @@ -1,11 +1,16 @@ #! /bin/sh # Build the Windows cross and native toolchains for x86 and x86_64 +WIPE=$1 + for a in "w64" "w32" do for p in "lin" "win" do - ./cerbero-uninstalled -c config/mingw-$a-$p.cbc wipe --force + echo "Building $p-$a toolchain" + if test "x$WIPE" = "x1"; then + ./cerbero-uninstalled -c config/mingw-$a-$p.cbc wipe --force + fi ./cerbero-uninstalled -c config/mingw-$a-$p.cbc build toolchain done done |