[GHC] #8349: Extra space in CFLAGS for libffi includes

GHC ghc-devs at haskell.org
Tue Sep 24 11:32:11 CEST 2013


#8349: Extra space in CFLAGS for libffi includes
-------------------------------------+-------------------------------------
       Reporter:  trommler           |             Owner:
           Type:  bug                |            Status:  new
       Priority:  normal             |         Milestone:  7.8.1
      Component:  Build System       |           Version:  7.7
       Keywords:                     |  Operating System:  Unknown/Multiple
   Architecture:  Unknown/Multiple   |   Type of failure:  Building GHC
     Difficulty:  Easy (less than 1  |  failed
  hour)                              |         Test Case:
     Blocked By:                     |          Blocking:
Related Tickets:                     |
-------------------------------------+-------------------------------------
 Compiling with system libffi include file in a non-standard location
 fails due to a extra space in configure.ac.

 Gentoo has the following "fix" in its ebuild:

 {{{
 sed -e 's at LIBFFI_CFLAGS="-I $withval"@LIBFFI_CFLAGS="-I$withval"@' \
     -i "${S}/configure.ac" \
   || die "Could not remove space after -I from LIBFFI_CFLAGS in
 configure.ac and configure"
 }}}

 I attached a patch.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8349>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list