aboutsummaryrefslogtreecommitdiff
path: root/linux/make_artifacts.sh
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2022-09-29 10:15:45 -0700
committerJohn MacFarlane <[email protected]>2022-09-29 10:19:30 -0700
commit57fd3c4f81138aaaf52acb876f088611beeb8542 (patch)
treee010fdadccad36814d2a04a4c1f7a0565317e98c /linux/make_artifacts.sh
parentc974ed0caea0e1266ba7a606a7bf6e35b050df13 (diff)
cabal.project: move back to using `flags:`.
If we add the flag to constraints, it can't be overridden on the command line.
Diffstat (limited to 'linux/make_artifacts.sh')
-rw-r--r--linux/make_artifacts.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/make_artifacts.sh b/linux/make_artifacts.sh
index 370092a10..1acdf4a91 100644
--- a/linux/make_artifacts.sh
+++ b/linux/make_artifacts.sh
@@ -27,8 +27,7 @@ ghc --version
cabal update
cabal clean
-cabal configure -f-export-dynamic -fembed_data_files --enable-executable-static --ghc-options '-j4 +RTS -A256m -RTS -split-sections -optc-Os -optl=-pthread' pandoc
-cabal build -j4
+cabal build -f-export-dynamic -fembed_data_files --enable-executable-static --ghc-options '-j4 +RTS -A256m -RTS -split-sections -optc-Os -optl=-pthread' -j4 all
for f in $(find dist-newstyle -name 'pandoc' -type f -perm /400); do cp $f $ARTIFACTS/; done
# Confirm that we have static builds