summaryrefslogtreecommitdiff
path: root/ghc/ghc.wrapper
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-03-24 17:14:08 +0000
committerIan Lynagh <igloo@earth.li>2010-03-24 17:14:08 +0000
commit4a0b6d6cba4c6d053c928ecc111ff0a300443f4b (patch)
tree6c5ad8e48d4a752cfb2d33104862b837a76a57ea /ghc/ghc.wrapper
parent1de47f21a9e3a1e8f3969a675f79c6dd56fa2dd2 (diff)
downloadhaskell-4a0b6d6cba4c6d053c928ecc111ff0a300443f4b.tar.gz
Pass the location of gcc in the ghc wrapper script; partially fixes #3863
This means we don't rely on baking a path to gcc into the executable
Diffstat (limited to 'ghc/ghc.wrapper')
-rw-r--r--ghc/ghc.wrapper2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/ghc.wrapper b/ghc/ghc.wrapper
index 083a66db7e..db3ebb0fe7 100644
--- a/ghc/ghc.wrapper
+++ b/ghc/ghc.wrapper
@@ -1 +1 @@
-exec "$executablename" -B"$topdir" ${1+"$@"}
+exec "$executablename" -B"$topdir" -pgmc "$pgmgcc" ${1+"$@"}