summaryrefslogtreecommitdiff
path: root/testsuite/mk
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-09-17 19:40:48 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-09-23 16:00:18 -0400
commit552b32f118e1d3a9b6250c979964c7f42f3f80aa (patch)
tree818a4ddc592eb31dd3cd380b9944be31a237e187 /testsuite/mk
parent316ac68fb88e2d61e2dc07c2a75bcfb6d43e0d43 (diff)
downloadhaskell-552b32f118e1d3a9b6250c979964c7f42f3f80aa.tar.gz
testsuite: Pass CFLAGS to hsc2hs tests
Diffstat (limited to 'testsuite/mk')
-rw-r--r--testsuite/mk/ghc-config.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/mk/ghc-config.hs b/testsuite/mk/ghc-config.hs
index 8870a35f80..e4631f13ff 100644
--- a/testsuite/mk/ghc-config.hs
+++ b/testsuite/mk/ghc-config.hs
@@ -30,6 +30,7 @@ main = do
getGhcFieldProgWithDefault fields "CLANG" "LLVM clang command" "clang"
getGhcFieldProgWithDefault fields "LLC" "LLVM llc command" "llc"
getGhcFieldProgWithDefault fields "TEST_CC" "C compiler command" "gcc"
+ getGhcFieldProgWithDefault fields "TEST_CC_OPTS" "C compiler flags" ""
let pkgdb_flag = case lookup "Project version" fields of
Just v