summaryrefslogtreecommitdiff
path: root/c
blob: ed905d3d943d36a5d15844bc3a8ddf704d464336 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
compile=ghc
defs="-DBENCODE_AESON -DTHREAD_DEBUG"
hide="-hide-package crypto-random -hide-package crypto-api -hide-package crypto-numbers -hide-package cryptohash -hide-package prettyclass"
cbits="cbits/*.c"
# -Wno-typed-holes
includes="-isrc -icryptonite-backport"
$compile -Wmissing-signatures -fdefer-typed-holes -freverse-errors $hide $includes -XOverloadedStrings -XRecordWildCards $defs $cbits "$@"