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:
1 parent
6bb0cfca58
commit
d379cc8b21
1 file changed
+3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user