From 097a8a50ff0628a2b991757c8862fbd260772ed8 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 31 Mar 2011 20:49:08 -0700 Subject: liboil_0.3.17.bb: Enable x86_64 unaligned memory access Patch imported from OE Signed-off-by: Khem Raj --- .../liboil/liboil-0.3.17/fix-unaligned-whitelist.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta/recipes-support/liboil/liboil-0.3.17/fix-unaligned-whitelist.patch (limited to 'meta/recipes-support/liboil/liboil-0.3.17') diff --git a/meta/recipes-support/liboil/liboil-0.3.17/fix-unaligned-whitelist.patch b/meta/recipes-support/liboil/liboil-0.3.17/fix-unaligned-whitelist.patch new file mode 100644 index 000000000..79d53b6e5 --- /dev/null +++ b/meta/recipes-support/liboil/liboil-0.3.17/fix-unaligned-whitelist.patch @@ -0,0 +1,17 @@ +Upstream: https://bugs.freedesktop.org/show_bug.cgi?id=31358 + +configure: fix whitelisting of x86_64 unaligned memory access + +Fix typo in whitelist so cross-compile works for x86_64. + +--- liboil-0.3.17/m4/as-unaligned-access.m4.orig 2009-02-26 14:40:08.000000000 -0500 ++++ liboil-0.3.17/m4/as-unaligned-access.m4 2010-11-03 12:19:55.000000000 -0400 +@@ -9,7 +9,7 @@ + _AS_ECHO_N([(blacklisted) ]) + as_cv_unaligned_access=no + ;; +- i?86*|x86_64|amd64|powerpc*|m68k*|cris*) ++ i?86*|x86_64*|amd64*|powerpc*|m68k*|cris*) + _AS_ECHO_N([(whitelisted) ]) + as_cv_unaligned_access=yes + ;; -- cgit v1.2.3