Commit 623024c8 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contrib: Fix liboil cpu detection

Fix provided by NightStrike from mingw-w64 project
parent df92fa49
......@@ -2463,6 +2463,8 @@ liboil-$(OIL_VERSION).tar.gz:
liboil: liboil-$(OIL_VERSION).tar.gz
$(EXTRACT_GZ)
patch -d liboil -p1 < Patches/liboil-noshared.patch
patch -d liboil -p1 < Patches/liboil-Xcompile.patch
.liboil: liboil
ifdef HAVE_DARWIN_OS
......
diff -ruN liboil.new/m4/as-unaligned-access.m4 liboil/m4/as-unaligned-access.m4
--- liboil.new/m4/as-unaligned-access.m4 2009-08-18 10:59:02.000000000 +0200
+++ liboil/m4/as-unaligned-access.m4 2009-08-18 10:59:32.000000000 +0200
@@ -4,7 +4,7 @@
AC_DEFUN([AS_UNALIGNED_ACCESS], [
AC_MSG_CHECKING([if unaligned memory access works correctly])
if test x"$as_cv_unaligned_access" = x ; then
- case $host in
+ case $host_cpu in
alpha*|arm*|hp*|mips*|sh*|sparc*|ia64*)
_AS_ECHO_N([(blacklisted) ])
as_cv_unaligned_access=no
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment