summaryrefslogtreecommitdiff
path: root/testsuite/mk
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2016-07-09 14:03:51 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2016-07-09 18:23:15 +0200
commit0177c85b614618039578d6670453e030eaf49846 (patch)
tree298eb90e78c9b8b25fb53bbfc55b2613544f0268 /testsuite/mk
parent6c7c193f376fe3b48992724c12f6ff393dca6528 (diff)
downloadhaskell-0177c85b614618039578d6670453e030eaf49846.tar.gz
Testsuite: expose TEST_CC (path to gcc)
Reviewed by: Phyx Differential Revision: https://phabricator.haskell.org/D2394
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 4ca3d3085c..84f1523fd5 100644
--- a/testsuite/mk/ghc-config.hs
+++ b/testsuite/mk/ghc-config.hs
@@ -28,6 +28,7 @@ main = do
getGhcFieldOrDefault fields "GhcProfiled" "GHC Profiled" "NO"
getGhcFieldProgWithDefault fields "AR" "ar command" "ar"
getGhcFieldProgWithDefault fields "LLC" "LLVM llc command" "llc"
+ getGhcFieldProgWithDefault fields "TEST_CC" "C compiler command" "gcc"
let pkgdb_flag = case lookup "Project version" fields of
Just v