summaryrefslogtreecommitdiff
path: root/hadrian
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2019-03-10 17:32:47 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-03-12 09:04:52 -0400
commitb232231065f5e40ae3a6bd515bb42330cf484fcc (patch)
tree6d7157e6da04bddd725008e059fe61e42b322a9c /hadrian
parent2f453414c5b1b27b6a84a3b5c7cd1bb5449f1f5d (diff)
downloadhaskell-b232231065f5e40ae3a6bd515bb42330cf484fcc.tar.gz
Hadrian: Allow passing CABFLAGS into build.cabal.sh
Setting `CABFLAGS=args` will pass the additional arguments to cabal when it is invoked.
Diffstat (limited to 'hadrian')
-rwxr-xr-xhadrian/build.cabal.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hadrian/build.cabal.sh b/hadrian/build.cabal.sh
index 13ef927f8e..55ae958e9a 100755
--- a/hadrian/build.cabal.sh
+++ b/hadrian/build.cabal.sh
@@ -1,7 +1,7 @@
#!/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"