summaryrefslogtreecommitdiff
path: root/compiler/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-07-11 12:31:51 +0000
committerIan Lynagh <igloo@earth.li>2008-07-11 12:31:51 +0000
commit28a5c73a83e8f27c31cad02da07c81e4e6764303 (patch)
treeaf20c955151e60bf44bdcfd3be5e2cf6817686c8 /compiler/Makefile
parent9fd4126858ff63ef9dc1c71f439eed11ef69f169 (diff)
downloadhaskell-28a5c73a83e8f27c31cad02da07c81e4e6764303.tar.gz
Move -fno-cse flags from Makefile into pragmas
These are needed for GLOBAL_VAR's to work properly
Diffstat (limited to 'compiler/Makefile')
-rw-r--r--compiler/Makefile12
1 files changed, 0 insertions, 12 deletions
diff --git a/compiler/Makefile b/compiler/Makefile
index 6385c77922..536f246787 100644
--- a/compiler/Makefile
+++ b/compiler/Makefile
@@ -576,18 +576,6 @@ endif
#simplCore/SimplEnv_HC_OPTS = -auto-all
#simplCore/SimplUtils_HC_OPTS = -auto-all
-# CSE interacts badly with top-level IORefs (reportedly in DriverState and
-# DriverMkDepend), causing some of them to be commoned up. We have a fix for
-# this in 5.00+, but earlier versions of the compiler will need CSE turned off.
-# To be on the safe side, we disable CSE in *all* modules with top-level IORefs.
-ghci/InteractiveUI_HC_OPTS = -fno-cse
-main/CmdLineOpts_HC_OPTS = -fno-cse
-main/DriverMkDepend_HC_OPTS = -fno-cse
-main/DriverPipeline_HC_OPTS = -fno-cse
-main/Finder_HC_OPTS = -fno-cse
-main/SysTools_HC_OPTS = -fno-cse
-main/StaticFlags_HC_OPTS = -fno-cse
-
# The #include is vital for the via-C route, else the C
# compiler doesn't realise that the stcall foreign imports are indeed
# stdcall, and doesn't generate the Foo@8 name for them