From 1e306391a7baa73763d1bbcb15c851c7070841e3 Mon Sep 17 00:00:00 2001 From: Lassi Kortela Date: Wed, 21 Aug 2019 22:18:01 +0300 Subject: [PATCH] Add compiler name to build directory name --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index cab699c..49186f8 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -71,7 +71,7 @@ esac CC="${CC:-$default_cc}" CFLAGS="${CFLAGS:-$default_cflags}" LFLAGS="${LFLAGS:-$default_lflags}" -builddir="build-$os-$(uname -m | tr A-Z- a-z_)" +builddir="build-$os-$(uname -m | tr A-Z- a-z_)-$(basename "$CC")" cd "$(dirname "$0")"/.. echo "Entering directory '$PWD'" set -x