Get closer to GhcCompilerWays=p working
[ghc-hetmet.git] / compiler / Makefile.ghcbin
index 0e3ce12..1fcd42d 100644 (file)
@@ -37,10 +37,11 @@ endif
 
 endif
 
-ifneq "$(findstring thr, $(GhcRTSWays))" ""
-ifneq "$(GhcNotThreaded)" "YES"
-SRC_HC_OPTS += -threaded
+ifeq "$(GhcThreaded)" "YES"
+SRC_LD_OPTS += -threaded
 endif
+ifeq "$(GhcProfiled)" "YES"
+SRC_LD_OPTS += -prof
 endif
 
 odir=stage$(stage)