summaryrefslogtreecommitdiff
path: root/c
blob: a9d9755adde0147c3f6fce953b4c2c80b92ad19a (plain)
1
2
3
4
5
6
7
#!/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
$compile -fdefer-typed-holes -freverse-errors $hide -isrc -XOverloadedStrings -XRecordWildCards $defs $cbits "$@"