Fix building GHC with profiling
authorIan Lynagh <igloo@earth.li>
Wed, 15 Aug 2007 13:02:42 +0000 (13:02 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 15 Aug 2007 13:02:42 +0000 (13:02 +0000)
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)