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.
This commit is contained in:
Martin Storsjö committed 2018-10-02 21:34:54 +03:00
1 parent 6bb0cfca58
commit d379cc8b21
1 file changed
+3
+3
View File
@@ -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