blob: 1e90125edd7dcccfafd5902e9baca3b8af80deb9 [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001libffi's configure assumes that cross-compiled builds are complicated and
2introduces convoluted path manipulation involving gcc search paths to the
3install paths, resulting in paths like -L/usr/lib/../lib/ appearing in
4libffi.pc. When pkg-config is then used to obtain the linker flags for libffi
5it can't tell that this path is on the default search path and returns
6$SYSROOT/usr/lib/../lib which then gets written all over the target sysroot.
7This then means the sstate can't be shared and triggers QA errors.
8
9As this block is generally pointless, disable it.
10
11Upstream-Status: Inappropriate
12Signed-off-by: Ross Burton <ross.burton@intel.com>
13
14--- a/configure.ac~ 2014-11-12 11:56:51.000000000 +0000
15+++ b/configure.ac 2016-02-04 14:02:53.765710532 +0000
16@@ -593,5 +593,5 @@
17 # These variables are only ever used when we cross-build to X86_WIN32.
18 # And we only support this with GCC, so...
19-if test "x$GCC" = "xyes"; then
20+if false; then
21 if test -n "$with_cross_host" &&
22 test x"$with_cross_host" != x"no"; then