summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libffi/libffi/not-win32.patch
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-02-04 16:22:51 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-04 23:39:03 +0000
commitfad264b7e7898abbbc0d51407996da54a00eec4d (patch)
treeeeaac72c47f2b1057fe11a5ef31c38b3fa1f0335 /meta/recipes-support/libffi/libffi/not-win32.patch
parentd3753dd6c34a381b0fdd0d69d3a8408101c34de5 (diff)
downloadpoky-fad264b7e7898abbbc0d51407996da54a00eec4d.tar.gz
libffi: move from recipes-gnome to recipes-support
(From OE-Core rev: a2c43ffe55e022cb5621d549c8aae914c6fa54a1) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libffi/libffi/not-win32.patch')
-rw-r--r--meta/recipes-support/libffi/libffi/not-win32.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-support/libffi/libffi/not-win32.patch b/meta/recipes-support/libffi/libffi/not-win32.patch
new file mode 100644
index 0000000000..1e90125edd
--- /dev/null
+++ b/meta/recipes-support/libffi/libffi/not-win32.patch
@@ -0,0 +1,22 @@
1libffi'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 \ No newline at end of file