summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-08-02 19:06:51 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-08-02 19:06:51 +0000
commitcebd90f3e8102052407dabb032b0844d3d1be947 (patch)
treeaa37a900ac70af37a4c55ed650f65084b8fae121
parent1fc88da19dbc66bc12de38b2956e97a8b7835806 (diff)
downloadhaskell-cebd90f3e8102052407dabb032b0844d3d1be947.tar.gz
remove unnecessary -#include options
-rw-r--r--compiler/ghci/Linker.lhs2
-rw-r--r--compiler/ghci/ObjLink.lhs2
-rw-r--r--ghc/InteractiveUI.hs1
3 files changed, 0 insertions, 5 deletions
diff --git a/compiler/ghci/Linker.lhs b/compiler/ghci/Linker.lhs
index 21a206490e..9f45579a52 100644
--- a/compiler/ghci/Linker.lhs
+++ b/compiler/ghci/Linker.lhs
@@ -12,8 +12,6 @@ necessary.
\begin{code}
-{-# OPTIONS -optc-DNON_POSIX_SOURCE -#include "Linker.h" #-}
-
{-# OPTIONS -fno-cse #-}
-- -fno-cse is needed for GLOBAL_VAR's to behave properly
diff --git a/compiler/ghci/ObjLink.lhs b/compiler/ghci/ObjLink.lhs
index 7981c8208c..c8a668216b 100644
--- a/compiler/ghci/ObjLink.lhs
+++ b/compiler/ghci/ObjLink.lhs
@@ -9,8 +9,6 @@
Primarily, this module consists of an interface to the C-land dynamic linker.
\begin{code}
-{-# OPTIONS -#include "Linker.h" #-}
-
module ObjLink (
initObjLinker, -- :: IO ()
loadDLL, -- :: String -> IO (Maybe String)
diff --git a/ghc/InteractiveUI.hs b/ghc/InteractiveUI.hs
index 367539863c..e096fb201f 100644
--- a/ghc/InteractiveUI.hs
+++ b/ghc/InteractiveUI.hs
@@ -1,7 +1,6 @@
{-# OPTIONS -fno-cse #-}
-- -fno-cse is needed for GLOBAL_VAR's to behave properly
-{-# OPTIONS -#include "Linker.h" #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
-----------------------------------------------------------------------------
--