diff --git a/Control/Monad.hs b/Control/Monad.hs
index 805996fb76055daf02bfc77dac1177df4dc154c1..07b4d3b487680a71857477ecde627a7907156145 100644
--- a/Control/Monad.hs
+++ b/Control/Monad.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Control.Monad
diff --git a/Data/Array.hs b/Data/Array.hs
index 2cd6553aaee0a1028a20185ecb52bcbf0ced9cc3..e8e8c76db4504e202634adba5ec8749bf68d8d2e 100644
--- a/Data/Array.hs
+++ b/Data/Array.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Data.Array 
diff --git a/Data/Array/IO.hs b/Data/Array/IO.hs
index b43573d7613f66bf578b116fb65704e5cccb8dff..0023a6a5adbdf5edac79f4a742b0103b2d187793 100644
--- a/Data/Array/IO.hs
+++ b/Data/Array/IO.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -#include "HsBase.h" #-}
+{-# OPTIONS_GHC -#include "HsBase.h" #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Data.Array.IO
diff --git a/Data/Array/IO/Internals.hs b/Data/Array/IO/Internals.hs
index 0cf19010cc3115ea503c0dff3ceee95720115517..fda59f0c4771a9c7bebe421ac718927562726ff2 100644
--- a/Data/Array/IO/Internals.hs
+++ b/Data/Array/IO/Internals.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -#include "HsBase.h" #-}
+{-# OPTIONS_GHC -#include "HsBase.h" #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Data.Array.IO.Internal
diff --git a/Data/Bits.hs b/Data/Bits.hs
index 25bc9a1f9b645ce91d467a66febf9e77ca55b3a8..d33f7ee2a73bb9dc99bf33374168e151f530e28c 100644
--- a/Data/Bits.hs
+++ b/Data/Bits.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Data.Bits
diff --git a/Data/Bool.hs b/Data/Bool.hs
index 2232aa3e33a7b3cfedba90f5a56aefa4ca76d9d7..0e1453846a780b7fbd6426447ede7dd08f5d1307 100644
--- a/Data/Bool.hs
+++ b/Data/Bool.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Data.Bool
diff --git a/Data/Char.hs b/Data/Char.hs
index 76eb39c1a7781c8ea562c2610707f6d7720d9e96..1debe79ee552b40b567b43ead79dd45caf9f9136 100644
--- a/Data/Char.hs
+++ b/Data/Char.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Data.Char
diff --git a/Data/Dynamic.hs b/Data/Dynamic.hs
index f4e35cd8e620f9a449545066bc27ce6e22fc85e5..f02290a4769bb31be13c9361cf034752bea0faa8 100644
--- a/Data/Dynamic.hs
+++ b/Data/Dynamic.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Data.Dynamic
diff --git a/Data/Either.hs b/Data/Either.hs
index d6261b6f8d0d99f9bd4162df542fae519e61d672..0c5e15347883878eca0ee28534ecd727d1ef24b5 100644
--- a/Data/Either.hs
+++ b/Data/Either.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Data.Either
diff --git a/Data/HashTable.hs b/Data/HashTable.hs
index d1a482bdb8f9f3a1e69e7671a3a9938c8a499ca6..0f31af52509bde78501971800c3e8b0561d0bc9c 100644
--- a/Data/HashTable.hs
+++ b/Data/HashTable.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 
 -----------------------------------------------------------------------------
 -- |
diff --git a/Data/Int.hs b/Data/Int.hs
index 8d3b202fc76e8dfef7cbd3738c2570e0debc4da0..1033270df0938cf0cf0593268d162411ed2449fd 100644
--- a/Data/Int.hs
+++ b/Data/Int.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Data.Int
diff --git a/Data/List.hs b/Data/List.hs
index 7250333f38fd1000d3b6d75718c675f0ceb660b0..da6c878a49b7990dc8eb82ea6c9720febbaead83 100644
--- a/Data/List.hs
+++ b/Data/List.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Data.List
diff --git a/Data/Maybe.hs b/Data/Maybe.hs
index f98fa859178be91dcde892e56ec4824caa3362e1..69dd75f0cd0ca817685c2d6c2643f0ccab59a1f2 100644
--- a/Data/Maybe.hs
+++ b/Data/Maybe.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Data.Maybe
diff --git a/Data/Tuple.hs b/Data/Tuple.hs
index 3fb4074c8591452ef35d53563730e3f5e25404c0..a1495854a5982aa2ae141848a4de544de871bc83 100644
--- a/Data/Tuple.hs
+++ b/Data/Tuple.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Data.Tuple
diff --git a/Data/Typeable.hs b/Data/Typeable.hs
index 7f0e974e56d5c9f6173de6a759f38f8f217d2e25..f5b1c824ab08c39d56b4428415096ece6cd2df91 100644
--- a/Data/Typeable.hs
+++ b/Data/Typeable.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Data.Typeable
diff --git a/Data/Word.hs b/Data/Word.hs
index 3a0a795292eb028ad184a66f750b675c22dba628..e3a1ab9f7a7004679a3bbbb1ed575952aba2ee33 100644
--- a/Data/Word.hs
+++ b/Data/Word.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Data.Word
diff --git a/Foreign.hs b/Foreign.hs
index fc2515967c97102be3d3273503e51b3fdfc073c5..9fef16ff079b177dec0734a37cb4beceeaf28f08 100644
--- a/Foreign.hs
+++ b/Foreign.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Foreign
diff --git a/Foreign/C.hs b/Foreign/C.hs
index 6d6409f907e09ff3a988509aa622c04da859118a..62dbaeac9874083ea90cbbdb3b6e81166c5848fa 100644
--- a/Foreign/C.hs
+++ b/Foreign/C.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Foreign.C
diff --git a/Foreign/C/Error.hs b/Foreign/C/Error.hs
index 9c99ddf54570f7229b35760e36d31255a93873d0..74d4e1a58b32c3f201143115a2e6d2522c1b93f5 100644
--- a/Foreign/C/Error.hs
+++ b/Foreign/C/Error.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude -#include "HsBase.h" #-}
+{-# OPTIONS_GHC -fno-implicit-prelude -#include "HsBase.h" #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Foreign.C.Error
diff --git a/Foreign/C/String.hs b/Foreign/C/String.hs
index b03d32b5548779a00be183cdf1c12c2802948dc7..03826dd4384d60b4315a72ab009132193363aab8 100644
--- a/Foreign/C/String.hs
+++ b/Foreign/C/String.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Foreign.C.String
diff --git a/Foreign/C/Types.hs b/Foreign/C/Types.hs
index c40e1972741cb996abce60e70b7c45da3e2654d9..b897718c0c9dcc0f7bdc1941914d0cbcd6b86992 100644
--- a/Foreign/C/Types.hs
+++ b/Foreign/C/Types.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Foreign.C.Types
diff --git a/Foreign/Concurrent.hs b/Foreign/Concurrent.hs
index e5a244912e60823f12b8273125bb3c915ebefacb..664fa07c38c9cda97cbef2db30be7ba4c5ab6804 100644
--- a/Foreign/Concurrent.hs
+++ b/Foreign/Concurrent.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Foreign.Concurrent
diff --git a/Foreign/ForeignPtr.hs b/Foreign/ForeignPtr.hs
index 63e0b25f728c51d5bd65c6853d509d97a3ed7073..50db97d7f919bfddad6e9e452e3937114c7f7bec 100644
--- a/Foreign/ForeignPtr.hs
+++ b/Foreign/ForeignPtr.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Foreign.ForeignPtr
diff --git a/Foreign/Marshal.hs b/Foreign/Marshal.hs
index 12133e28ddc195bd2827de81266cf897d41763b6..9ea2f685a8e5c9c7f94750b0f4cc50dce6f398fb 100644
--- a/Foreign/Marshal.hs
+++ b/Foreign/Marshal.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Foreign.Marshal
diff --git a/Foreign/Marshal/Alloc.hs b/Foreign/Marshal/Alloc.hs
index 65588ff76b338937eae81df755a3ffb587167e5e..67e81eb826f3e7aa8548fcd614533d328e6ade47 100644
--- a/Foreign/Marshal/Alloc.hs
+++ b/Foreign/Marshal/Alloc.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Foreign.Marshal.Alloc
diff --git a/Foreign/Marshal/Array.hs b/Foreign/Marshal/Array.hs
index 787c37deffdb8b2e4eae5fdd7be2bdc818439ed3..b347b3a9ed2e300f8000e3c43e6c149add54be51 100644
--- a/Foreign/Marshal/Array.hs
+++ b/Foreign/Marshal/Array.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Foreign.Marshal.Array
diff --git a/Foreign/Marshal/Error.hs b/Foreign/Marshal/Error.hs
index a88fc192d3df24b4c1f14477f5cebd3fa51a41af..ce6336e223075118854ebc56ab35e3c985e82ace 100644
--- a/Foreign/Marshal/Error.hs
+++ b/Foreign/Marshal/Error.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Foreign.Marshal.Error
diff --git a/Foreign/Marshal/Pool.hs b/Foreign/Marshal/Pool.hs
index f182d193145027cb52c60501a2d392d999915c76..a2a73ace8185a9769c3bd763aae0eddbca7a6c08 100644
--- a/Foreign/Marshal/Pool.hs
+++ b/Foreign/Marshal/Pool.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 --------------------------------------------------------------------------------
 -- |
 -- Module      :  Foreign.Marshal.Pool
diff --git a/Foreign/Marshal/Utils.hs b/Foreign/Marshal/Utils.hs
index 91ae94571fab140a5c5015b820db66cb6b86b1ad..0012fedf2c6cd3c5366bf5961055ef9e5f4ab729 100644
--- a/Foreign/Marshal/Utils.hs
+++ b/Foreign/Marshal/Utils.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Foreign.Marshal.Utils
diff --git a/Foreign/Ptr.hs b/Foreign/Ptr.hs
index a7db56147c065bc25126d5e78f87e527e0387fb6..7ab3c02451674fea65f8c981da99a2fd26794690 100644
--- a/Foreign/Ptr.hs
+++ b/Foreign/Ptr.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Foreign.Ptr
diff --git a/Foreign/StablePtr.hs b/Foreign/StablePtr.hs
index 21abd1dded1b032aad9a3fe5ca1b0afa6fcfb69e..9554060c5845c819423e6e2211450031571745aa 100644
--- a/Foreign/StablePtr.hs
+++ b/Foreign/StablePtr.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Foreign.StablePtr
diff --git a/Foreign/Storable.hs b/Foreign/Storable.hs
index 3ee78d041ee5b24990ddccbbc0094c9b09b6303e..bff2869b17d15a0e2cae11f9fe7de17019911b9b 100644
--- a/Foreign/Storable.hs
+++ b/Foreign/Storable.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Foreign.Storable
diff --git a/GHC/Arr.lhs b/GHC/Arr.lhs
index a74920c64cff8ca00b233b70f87764b426fe0bf3..ede18bcea7701822c99df69bb22846e375adde69 100644
--- a/GHC/Arr.lhs
+++ b/GHC/Arr.lhs
@@ -1,5 +1,5 @@
 \begin{code}
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.Arr
diff --git a/GHC/Base.lhs b/GHC/Base.lhs
index d3dcd46511020b8106bc05121f302ed8e7afca73..6a6926917f6cdbed4e0055645bca05b1dbd1cd3c 100644
--- a/GHC/Base.lhs
+++ b/GHC/Base.lhs
@@ -64,7 +64,7 @@ GHC.ByteArr	Types: ByteArray, MutableByteArray
 Other Prelude modules are much easier with fewer complex dependencies.
 
 \begin{code}
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.Base
diff --git a/GHC/Conc.lhs b/GHC/Conc.lhs
index 3c69c2258d8f98bb4215edbbd523dcaf4155818f..02b256a816e1cd87134dbca67c4bb1518040da66 100644
--- a/GHC/Conc.lhs
+++ b/GHC/Conc.lhs
@@ -1,5 +1,5 @@
 \begin{code}
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.Conc
diff --git a/GHC/ConsoleHandler.hs b/GHC/ConsoleHandler.hs
index 1a713f4092c63e3b918f41e7d5bf465b978c58a1..761926db4f982bfbbb9fced4e24f5fce55aa48ef 100644
--- a/GHC/ConsoleHandler.hs
+++ b/GHC/ConsoleHandler.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -cpp #-}
+{-# OPTIONS_GHC -cpp #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.ConsoleHandler
diff --git a/GHC/Dotnet.hs b/GHC/Dotnet.hs
index 9d427fdf92cdcee037b7346e028e093f31865909..64a84b728be9558a97d140b614a829ed6c2c7135 100644
--- a/GHC/Dotnet.hs
+++ b/GHC/Dotnet.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.Dotnet
diff --git a/GHC/Enum.lhs b/GHC/Enum.lhs
index 4591bc891eeeea1bdc764f6a812934c0629959cc..655b53f363300411ffacddbfdbdb4e3652bfd4d3 100644
--- a/GHC/Enum.lhs
+++ b/GHC/Enum.lhs
@@ -1,5 +1,5 @@
 \begin{code}
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.Enum
diff --git a/GHC/Err.lhs b/GHC/Err.lhs
index 803fdf0b518a5a6f1865227642a2451e0b2f7555..53dedf1231eb7ede52b3fe1155d45b40e4dd8e8c 100644
--- a/GHC/Err.lhs
+++ b/GHC/Err.lhs
@@ -1,5 +1,5 @@
 \begin{code}
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.Err
diff --git a/GHC/Exception.lhs b/GHC/Exception.lhs
index 04f732a886f6b8bb56196a125ab72862ecafcc13..fb9e7aa5c42727b0ec37a69b1e1afb83790778d2 100644
--- a/GHC/Exception.lhs
+++ b/GHC/Exception.lhs
@@ -1,5 +1,5 @@
 \begin{code}
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.Exception
diff --git a/GHC/Float.lhs b/GHC/Float.lhs
index 41ea69a8b9c9e9c1e75781c73210de9c009ea5a4..9831ec90f35a7ff8e52872c75503826c77b9e762 100644
--- a/GHC/Float.lhs
+++ b/GHC/Float.lhs
@@ -1,5 +1,5 @@
 \begin{code}
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.Float
diff --git a/GHC/ForeignPtr.hs b/GHC/ForeignPtr.hs
index a418efcede20ac8e43f440a98b562ef3941c8518..fac44613ab684b895d44cfa238147190d71a54d8 100644
--- a/GHC/ForeignPtr.hs
+++ b/GHC/ForeignPtr.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.ForeignPtr
diff --git a/GHC/Handle.hs b/GHC/Handle.hs
index f79a2cbb9c8064585cb5bc99cd2353dc54928e65..a822696e6bcc5ebac2b68886d34b7199c7d112a4 100644
--- a/GHC/Handle.hs
+++ b/GHC/Handle.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude -#include "HsBase.h" #-}
+{-# OPTIONS_GHC -fno-implicit-prelude -#include "HsBase.h" #-}
 
 #undef DEBUG_DUMP
 #undef DEBUG
diff --git a/GHC/IO.hs b/GHC/IO.hs
index 287294436cf21f6c95a0030aaa2ed36bee056c04..995991494577fc5a1c9356957b6dfa5b2d0405bd 100644
--- a/GHC/IO.hs
+++ b/GHC/IO.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude -#include "HsBase.h" #-}
+{-# OPTIONS_GHC -fno-implicit-prelude -#include "HsBase.h" #-}
 
 #undef DEBUG_DUMP
 
diff --git a/GHC/IOBase.lhs b/GHC/IOBase.lhs
index e87728c66bbd3a593eb1438760173a4ce4abb0a6..233148b0eaffffa011ccb91673cacb6e5820d0c8 100644
--- a/GHC/IOBase.lhs
+++ b/GHC/IOBase.lhs
@@ -1,5 +1,5 @@
 \begin{code}
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.IOBase
diff --git a/GHC/Int.hs b/GHC/Int.hs
index e3d045dd765ee8951b589e6d7dbaf4a0268a20c9..4416bfeaddd35fa545b8514220c945481e5eab89 100644
--- a/GHC/Int.hs
+++ b/GHC/Int.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.Int
diff --git a/GHC/List.lhs b/GHC/List.lhs
index 96b53832c9526704e9da8d7703b3bd595e9862c4..02119655722cd3b329beda5826e2fdf42d1578d8 100644
--- a/GHC/List.lhs
+++ b/GHC/List.lhs
@@ -1,5 +1,5 @@
 \begin{code}
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.List
diff --git a/GHC/Num.lhs b/GHC/Num.lhs
index 04cdd689528c6f3d0d498538c836372373b5e878..5d559469fecd97658bfc92123ccb60ebcd789ee4 100644
--- a/GHC/Num.lhs
+++ b/GHC/Num.lhs
@@ -1,5 +1,5 @@
 \begin{code}
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.Num
diff --git a/GHC/PArr.hs b/GHC/PArr.hs
index a1e3deb775248e30e0775745b4fd42a4ba2d5581..8ce448814d8bb2058e5171503353baed95e27ba4 100644
--- a/GHC/PArr.hs
+++ b/GHC/PArr.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fparr #-}
+{-# OPTIONS_GHC -fparr #-}
 
 -----------------------------------------------------------------------------
 -- |
diff --git a/GHC/Pack.lhs b/GHC/Pack.lhs
index 6cf52113c3ba9938785b3d97a028e305cefbc990..17d371ef2422bb21d882103c40fe7e1adc78fc57 100644
--- a/GHC/Pack.lhs
+++ b/GHC/Pack.lhs
@@ -1,5 +1,5 @@
 \begin{code}
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.Pack
diff --git a/GHC/Ptr.lhs b/GHC/Ptr.lhs
index 1fbfeb6ca4289a47fe577953e1cd136f67909b50..31daa5f105e7b3cd3180a30ef8ce12f5fe742aef 100644
--- a/GHC/Ptr.lhs
+++ b/GHC/Ptr.lhs
@@ -1,5 +1,5 @@
 \begin{code}
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.Ptr
diff --git a/GHC/Read.lhs b/GHC/Read.lhs
index f8174cb4b934e5c71d80989c56fcd9570c1ad1e6..e24cbe5c00c52c4904015fcb941271b2e37ae52d 100644
--- a/GHC/Read.lhs
+++ b/GHC/Read.lhs
@@ -1,5 +1,5 @@
 \begin{code}
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.Read
diff --git a/GHC/Real.lhs b/GHC/Real.lhs
index 10feee92c829b7da283eb0b3194e92a65698e571..c12146b1b9d8c915f119c695dea1f7f4be917645 100644
--- a/GHC/Real.lhs
+++ b/GHC/Real.lhs
@@ -1,5 +1,5 @@
 \begin{code}
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.Real
diff --git a/GHC/ST.lhs b/GHC/ST.lhs
index 12ec5caee94fcbdc28378ee9eef25ae2a1a99405..ebfb224ca58ddd8065f07e4e460023e079017664 100644
--- a/GHC/ST.lhs
+++ b/GHC/ST.lhs
@@ -1,5 +1,5 @@
 \begin{code}
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.ST
diff --git a/GHC/STRef.lhs b/GHC/STRef.lhs
index ed56bc9970d8ea4e38420e3f90c8cb2d7d947ef1..9824b15f932ca851f08988c6ddf20cc20bc80d74 100644
--- a/GHC/STRef.lhs
+++ b/GHC/STRef.lhs
@@ -1,5 +1,5 @@
 \begin{code}
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.STRef
diff --git a/GHC/Show.lhs b/GHC/Show.lhs
index 297764ee5bcef029a3b7916d80a2e5e87ff64d90..133e2d5eef1c09781736dee12d93a1095f95c6c4 100644
--- a/GHC/Show.lhs
+++ b/GHC/Show.lhs
@@ -1,5 +1,5 @@
 \begin{code}
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.Show
diff --git a/GHC/Stable.lhs b/GHC/Stable.lhs
index 8ded1e470897dff179403edb6cfaf6da46c7efa1..b52e756053914a677f6a15eac102a0331a7b2bfd 100644
--- a/GHC/Stable.lhs
+++ b/GHC/Stable.lhs
@@ -1,5 +1,5 @@
 \begin{code}
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.Stable
diff --git a/GHC/Storable.lhs b/GHC/Storable.lhs
index 5fe189410a51cf3a406637e73eec17458420f79b..7e3c7da6fb9c966c77592a43105e44f2c08a1640 100644
--- a/GHC/Storable.lhs
+++ b/GHC/Storable.lhs
@@ -1,5 +1,5 @@
 \begin{code}
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.Storable
diff --git a/GHC/Unicode.hs b/GHC/Unicode.hs
index b29d44fbc78f63bd891425b87488f18d8c399df9..e190cc16e1f5e5a55d8d84ab66b7e77beafe769f 100644
--- a/GHC/Unicode.hs
+++ b/GHC/Unicode.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.Unicde
diff --git a/GHC/Weak.lhs b/GHC/Weak.lhs
index c3839b1002b3efe55d6757811fbbf134afaeb170..7179e3da8965082ed65d24f88423ffd37c9e6b2f 100644
--- a/GHC/Weak.lhs
+++ b/GHC/Weak.lhs
@@ -1,5 +1,5 @@
 \begin{code}
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.Weak
diff --git a/GHC/Word.hs b/GHC/Word.hs
index b70378276905169a8fc0f49887f791f4a153a786..eb0a9c33013e2c12bb9af52d3293518e16a83e58 100644
--- a/GHC/Word.hs
+++ b/GHC/Word.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  GHC.Word
diff --git a/Numeric.hs b/Numeric.hs
index 89ac0ca9c96a90f7bf778e124b66e692fc22def8..e24803e9e4dec6b3e24ab752b159e295faca7fe0 100644
--- a/Numeric.hs
+++ b/Numeric.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Numeric
diff --git a/Prelude.hs b/Prelude.hs
index ddf3a93f2bbc68e38e6d701f2ae100e7c2c6a5fd..578ba7b46dd99081164015f28614a5dccd0ed56f 100644
--- a/Prelude.hs
+++ b/Prelude.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Prelude
diff --git a/System/FilePath.hs b/System/FilePath.hs
index 40a397613be773aa745a55c77d62a8d2d8334b37..a97048668a5e5ffa053d7c118c4afcdb1aa104c5 100644
--- a/System/FilePath.hs
+++ b/System/FilePath.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 
 -----------------------------------------------------------------------------
 -- |
diff --git a/System/IO.hs b/System/IO.hs
index 74682509e72302b9f3c81f3dc99ed6a6f0c89e87..da1575c83ddeb9af6f4878a1df1e28aef40661e7 100644
--- a/System/IO.hs
+++ b/System/IO.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  System.IO
diff --git a/System/IO/Error.hs b/System/IO/Error.hs
index 7250ef4810c888d257ad7ab8d7dded1eaa587dcb..95fde8522a97ae6eeef09e4fad6e7327e2e51548 100644
--- a/System/IO/Error.hs
+++ b/System/IO/Error.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 
 -----------------------------------------------------------------------------
 -- |
diff --git a/System/IO/Unsafe.hs b/System/IO/Unsafe.hs
index e794ab154c04b8615508a90a6cdc8ff0804135fa..96a252e4123aa4840571200e790f6c58ff004bad 100644
--- a/System/IO/Unsafe.hs
+++ b/System/IO/Unsafe.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  System.IO.Unsafe
diff --git a/System/Posix/Internals.hs b/System/Posix/Internals.hs
index c5ad0eda20e89d48ba4b50c0c5a2b64455593253..25fe8c787ca703bd55662a5e6ca1e8b5d223d7c1 100644
--- a/System/Posix/Internals.hs
+++ b/System/Posix/Internals.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 
 -----------------------------------------------------------------------------
 -- |
diff --git a/System/Posix/Types.hs b/System/Posix/Types.hs
index 7c30a54e10abc9216cfb4e570f78ef9f9e546c67..f24fed150b9e86c16856aa3e7bb88656110c46d4 100644
--- a/System/Posix/Types.hs
+++ b/System/Posix/Types.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  System.Posix.Types
diff --git a/System/Process.hs b/System/Process.hs
index 7a1965bf1dd97a80665e898163f305226fe2fb7e..7216ac76d0bb2310e37166ba7ed32e08da07b9e1 100644
--- a/System/Process.hs
+++ b/System/Process.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -cpp -fffi #-}
+{-# OPTIONS_GHC -cpp -fffi #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  System.Process
diff --git a/System/Process/Internals.hs b/System/Process/Internals.hs
index f53dd5b0f13eec9d8af2e3c585fbf61f2edc0a6c..9943bc007bb81b78329756dbff6968dc0ed50631 100644
--- a/System/Process/Internals.hs
+++ b/System/Process/Internals.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -cpp -fffi #-}
+{-# OPTIONS_GHC -cpp -fffi #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  System.Process.Internals
diff --git a/Text/ParserCombinators/ReadP.hs b/Text/ParserCombinators/ReadP.hs
index 5835d9a45e072437edd47356dbae29d43d199e38..d0743e7dbce5789398cd40cffdc192e83087ba91 100644
--- a/Text/ParserCombinators/ReadP.hs
+++ b/Text/ParserCombinators/ReadP.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fglasgow-exts -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fglasgow-exts -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Text.ParserCombinators.ReadP
diff --git a/Text/ParserCombinators/ReadPrec.hs b/Text/ParserCombinators/ReadPrec.hs
index a8a51c066c7daa6c60b29818ff55da3e91789f6f..17e40257362064267ebc37b3aec0eea98d6599b5 100644
--- a/Text/ParserCombinators/ReadPrec.hs
+++ b/Text/ParserCombinators/ReadPrec.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Text.ParserCombinators.ReadPrec
diff --git a/Text/Read.hs b/Text/Read.hs
index a7b71b40ba691cc2ee0acaad42d4e316c43fb530..16a4d158eeb701b09d543019d768c866bbc4d0e5 100644
--- a/Text/Read.hs
+++ b/Text/Read.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Text.Read
diff --git a/Text/Read/Lex.hs b/Text/Read/Lex.hs
index dda28594c326bdfafa07c83a5139d6f7cac3570c..6adb8ae166c2625735c1e3b15e27cc3d302e8ba7 100644
--- a/Text/Read/Lex.hs
+++ b/Text/Read/Lex.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Text.Read.Lex
diff --git a/Text/Show.hs b/Text/Show.hs
index da7df9b2919eeb06da94bed23ddf2b0bc44b387d..dc4535ebfbcdd77a8a8ca1af0a4692f757941789 100644
--- a/Text/Show.hs
+++ b/Text/Show.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -fno-implicit-prelude #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Text.Show