Fix building GHC with profiling
[ghc-hetmet.git] / compiler / Makefile.ghcbin
index 1fcd42d..4008f25 100644 (file)
@@ -38,10 +38,10 @@ endif
 endif
 
 ifeq "$(GhcThreaded)" "YES"
-SRC_LD_OPTS += -threaded
+SRC_HC_OPTS += -threaded
 endif
 ifeq "$(GhcProfiled)" "YES"
-SRC_LD_OPTS += -prof
+SRC_HC_OPTS += -prof
 endif
 
 odir=stage$(stage)