diff options
| author | simonpj <unknown> | 2000-04-10 16:02:58 +0000 |
|---|---|---|
| committer | simonpj <unknown> | 2000-04-10 16:02:58 +0000 |
| commit | a103a9dc0de992716e62c30d7ac81c0bc0dbcdc5 (patch) | |
| tree | 805dbee5ce4cde1c02783b2cbae1f46e13ee1080 /ghc/lib/std/PrelIO.lhs | |
| parent | 0826d0137d24268cdfb3375eb1ddc3f7035b7a41 (diff) | |
| download | haskell-a103a9dc0de992716e62c30d7ac81c0bc0dbcdc5.tar.gz | |
[project @ 2000-04-10 16:02:58 by simonpj]
Make it so that -fcompiling-prelude applies only
for Prelude modules (i.e. ones called Prelxxx).
I've done this with an {-# OPTIONS #-} line in each
such module (they all has -fno-implicit-prelude anyway)
but a less repetitive approach in the Makefile would
be welcome.
Diffstat (limited to 'ghc/lib/std/PrelIO.lhs')
| -rw-r--r-- | ghc/lib/std/PrelIO.lhs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/lib/std/PrelIO.lhs b/ghc/lib/std/PrelIO.lhs index 3501b6e154..237b3330f4 100644 --- a/ghc/lib/std/PrelIO.lhs +++ b/ghc/lib/std/PrelIO.lhs @@ -10,7 +10,7 @@ module IO. \begin{code} -{-# OPTIONS -fno-implicit-prelude -#include "cbits/stgio.h" #-} +{-# OPTIONS -fcompiling-prelude -fno-implicit-prelude -#include "cbits/stgio.h" #-} module PrelIO where |
