diff options
author | Shea Levy <shea@shealevy.com> | 2016-12-17 20:08:58 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-12-17 20:58:35 -0500 |
commit | 52ba9470a7e85d025dc84a6789aa809cdd68b566 (patch) | |
tree | eedb856723fb2dc0101b946af3702e6c6aee18da /compiler/main/DriverPipeline.hs | |
parent | e0fe7c3131c4a18ddd9dd9f2afdd46cafc8cd7ae (diff) | |
download | haskell-52ba9470a7e85d025dc84a6789aa809cdd68b566.tar.gz |
Allow use of the external interpreter in stage1.
Now that we have -fexternal-interpreter, we can lose most of the GHCI ifdefs.
Reviewers: simonmar, goldfire, austin, hvr, bgamari
Reviewed By: simonmar
Subscribers: RyanGlScott, mpickering, angerman, thomie
Differential Revision: https://phabricator.haskell.org/D2826
Diffstat (limited to 'compiler/main/DriverPipeline.hs')
-rw-r--r-- | compiler/main/DriverPipeline.hs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/main/DriverPipeline.hs b/compiler/main/DriverPipeline.hs index ea0c6eded1..133bdde283 100644 --- a/compiler/main/DriverPipeline.hs +++ b/compiler/main/DriverPipeline.hs @@ -2054,11 +2054,7 @@ doCpp dflags raw input_fn output_fn = do backend_defs <- getBackendDefs dflags -#ifdef GHCI let th_defs = [ "-D__GLASGOW_HASKELL_TH__" ] -#else - let th_defs = [ "-D__GLASGOW_HASKELL_TH__=0" ] -#endif -- Default CPP defines in Haskell source ghcVersionH <- getGhcVersionPathName dflags let hsSourceCppOpts = [ "-include", ghcVersionH ] |