Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/b921de768c7ba7b16d05233c5142e028c287dcee

>---------------------------------------------------------------

commit b921de768c7ba7b16d05233c5142e028c287dcee
Author: Ian Lynagh <[email protected]>
Date:   Thu Oct 11 16:25:23 2012 +0100

    Fix build on Windows
    
    gcc couldn't find ghc_boot_platform.h. I'm not sure why it worked on
    Linux.

>---------------------------------------------------------------

 compiler/ghc.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/compiler/ghc.mk b/compiler/ghc.mk
index c514bfc..07e185f 100644
--- a/compiler/ghc.mk
+++ b/compiler/ghc.mk
@@ -245,7 +245,7 @@ compiler/stage$1/build/Parser.y: compiler/parser/Parser.y.pp
        $$(CPP) $$(RAWCPP_FLAGS) -P $$(compiler_CPP_OPTS) -x c $$< | grep -v 
'^#pragma GCC' > $$@
 
 compiler/stage$1/build/primops.txt: compiler/prelude/primops.txt.pp 
compiler/stage$1/$$(PLATFORM_H)
-       $$(CPP) $$(RAWCPP_FLAGS) -P $$(compiler_CPP_OPTS) -x c $$< | grep -v 
'^#pragma GCC' > $$@
+       $$(CPP) $$(RAWCPP_FLAGS) -P $$(compiler_CPP_OPTS) -Icompiler/stage$1 -x 
c $$< | grep -v '^#pragma GCC' > $$@
 
 ifneq "$$(BootingFromHc)" "YES"
 compiler/stage$1/build/primop-data-decl.hs-incl: 
compiler/stage$1/build/primops.txt $$(GENPRIMOP_INPLACE)



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to