diff --git a/mk/config.mk.in b/mk/config.mk.in
index 0a4daeefa61bd0a97f21f8cf2ca4e65ccd288f49..4bff39bf2b379b70f64d29dfa06ab650b232ec2b 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -147,7 +147,7 @@ IncludeTestDirsInBuild=NO
 #		       	     HC_ROJEMO_NHC
 #		       	     HC_UNSPECIFIED
 
-WithGhcHc = ghc-2.10
+WithGhcHc = @WithGhcHc@
 
 # Extra ways in which to build the compiler (for example, you might want to
 # build a profiled compiler so you can see where it spends its time)