#2318: building GHC 6.8.3 Release Candidate 6.8.2.20080527 under PC solaris 
fails
--------------------------+-------------------------------------------------
 Reporter:  maeder        |          Owner:         
     Type:  bug           |         Status:  new    
 Priority:  high          |      Milestone:  6.8.3  
Component:  Build System  |        Version:  6.8.2  
 Severity:  normal        |     Resolution:         
 Keywords:                |     Difficulty:  Unknown
 Testcase:                |   Architecture:  x86    
       Os:  Solaris       |  
--------------------------+-------------------------------------------------
Comment (by igloo):

 Can you test whether this fixes it please, Christian? If it complains that
 gnu99 doesn't exist then try c99 instead.
 {{{
 diff -rN -u old-ghc/mk/config.mk.in new-ghc/mk/config.mk.in
 --- old-ghc/mk/config.mk.in     2008-06-03 17:13:20.000000000 +0100
 +++ new-ghc/mk/config.mk.in     2008-06-03 17:13:32.000000000 +0100
 @@ -964,6 +964,10 @@
  SRC_CC_OPTS += -G0
  endif

 +ifeq "$(TargetOS_CPP)" "solaris2"
 +SRC_CC_OPTS += -std=gnu99
 +endif
 +
 #-----------------------------------------------------------------------------
  # GMP Library (version 2.0.x or above)
  #
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2318#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to