#!/bin/bash
-
+
set -ex
PHASES=(${@:-CONFIGURE MAKE INSTALL CHECK DISTCHECK})
CXXFLAGS+=(-shared-libasan)
fi
- if [[ "$HOST_TRIPLET" != "" ]]; then
- opts+=(--host "$HOST_TRIPLET")
- fi
+ if [[ "$HOST_TRIPLET" != "" ]]; then
+ opts+=(--host "$HOST_TRIPLET")
+ fi
git config --global --add safe.directory "$PWD"
git clean -xdf
ninja -C build
;;
CODECHECK)
- make checklibdoc
- make checkxalloc
- ;;
+ make checklibdoc
+ make checkxalloc
+ ;;
CHECK)
if [[ "$SANITIZE" == "yes" ]]; then
# All the following black magic is to make test/eject/umount work, since