Commit b2322310 authored by Matthew Pickering's avatar Matthew Pickering Committed by Marge Bot

Hadrian: Allow passing CABFLAGS into build.cabal.sh

Setting `CABFLAGS=args` will pass the additional arguments to cabal
when it is invoked.
parent 2f453414
#!/usr/bin/env bash
CABAL=cabal
CABFLAGS="--disable-documentation --disable-profiling --disable-library-profiling"
CABFLAGS="--disable-documentation --disable-profiling --disable-library-profiling $CABFLAGS"
# It is currently more robust to pass Cabal an absolute path to the project file.
PROJ="$PWD/hadrian/cabal.project"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment