@@ -49,6 +49,7 @@ COVERAGE=0
4949MEASURE=1
5050HPC_REPORT_OPTIONS=
5151RAW=0
52+CABAL_BUILD_OPTIONS="--flag limit-build-mem"
5253
5354# XXX add a bisect option
5455while test -n "$1"
@@ -58,7 +59,7 @@ do
5859 # options with arguments
5960 --targets) shift; TARGETS=$1; shift ;;
6061 --with-compiler) shift; CABAL_WITH_COMPILER=$1; shift ;;
61− --cabal-build-options) shift; CABAL_BUILD_OPTIONS=$1; shift ;;
62+ --cabal-build-options) shift; CABAL_BUILD_OPTIONS+=$1; shift ;;
6263 --hpc-report-options) shift; HPC_REPORT_OPTIONS=$1; shift ;;
6364 --rtsopts) shift; RTS_OPTIONS=$1; shift ;;
6465 # flags