Skip to content

Extra space in CFLAGS for libffi includes

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@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.

Trac metadata
Trac field Value
Version 7.7
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information