From d379cc8b21dfbcd5ab871e7029432670aaff3efe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Tue, 2 Oct 2018 08:02:53 +0300 Subject: [PATCH] Allow passing --enable-asserts to build-llvm.sh This is the default already, but by allowing this as an option, it becomes easier to potentially change the default behaviour. --- build-llvm.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build-llvm.sh b/build-llvm.sh index 16b915d..6781856 100755 --- a/build-llvm.sh +++ b/build-llvm.sh @@ -9,6 +9,9 @@ while [ $# -gt 0 ]; do if [ "$1" = "--disable-asserts" ]; then ASSERTS=OFF BUILDDIR=build-noasserts + elif [ "$1" = "--enable-asserts" ]; then + ASSERTS=ON + BUILDDIR=build else PREFIX="$1" fi