From 48ddff9e852f934cb1c2d0e5a3a7e8547c4144c7 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Wed, 20 Dec 2023 11:59:41 -0600 Subject: [PATCH] default to release --- scripts/make_common.sh | 4 ++++ scripts/setup_msys2.sh | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/make_common.sh b/scripts/make_common.sh index 4120ac33..285f129b 100755 --- a/scripts/make_common.sh +++ b/scripts/make_common.sh @@ -5,6 +5,10 @@ BUILD_CLEAN=$2 IS_MINGW=$3 IS_WIN32=$4 +if [[ -z "${BUILD_TYPE}" ]]; then + BUILD_TYPE=Release +fi + if [ "${IS_MINGW}" == "1" ] || [ "${IS_WIN32}" == "1" ]; then BUILD_ROOT=build2 else diff --git a/scripts/setup_msys2.sh b/scripts/setup_msys2.sh index 92ea296a..1d11e7c9 100755 --- a/scripts/setup_msys2.sh +++ b/scripts/setup_msys2.sh @@ -7,5 +7,4 @@ pacman -Sqyuu --noconfirm && mingw64/mingw-w64-x86_64-make \ mingw64/mingw-w64-x86_64-toolchain \ msys/git \ - msys/mercurial \ make