From: simonmar Date: Fri, 23 Mar 2001 17:04:56 +0000 (+0000) Subject: [project @ 2001-03-23 17:04:56 by simonmar] X-Git-Tag: Approximately_9120_patches~2325 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=a4b7cd97db1073260d844071b4cb6ee8563b78a2;p=ghc-hetmet.git [project @ 2001-03-23 17:04:56 by simonmar] can't inject the stub.h include here, it's too late. --- diff --git a/ghc/compiler/main/DriverPipeline.hs b/ghc/compiler/main/DriverPipeline.hs index c81294c..d281c95 100644 --- a/ghc/compiler/main/DriverPipeline.hs +++ b/ghc/compiler/main/DriverPipeline.hs @@ -1,5 +1,5 @@ ----------------------------------------------------------------------------- --- $Id: DriverPipeline.hs,v 1.57 2001/03/23 16:36:20 simonmar Exp $ +-- $Id: DriverPipeline.hs,v 1.58 2001/03/23 17:04:56 simonmar Exp $ -- -- GHC Driver -- @@ -1043,9 +1043,6 @@ dealWithStubs basename maybe_stub_h maybe_stub_c Just tmp_stub_h -> do runSomething "Copy stub .h file" ("cp " ++ tmp_stub_h ++ ' ':stub_h) - - -- #include <..._stub.h> in .hc file - addCmdlineHCInclude tmp_stub_h -- hack -- copy the .stub_c file into the current dir, and compile it, if necessary case maybe_stub_c of