Signed-off-by: wzx <wuzx1226@qq.com> (cherry picked from commit f13bbb8d41494fc9b6710e835c82fba214130db3)
25 lines
1.2 KiB
Diff
Executable File
25 lines
1.2 KiB
Diff
Executable File
diff -Naur zziplib-0.13.71.org/configure zziplib-0.13.71.sw/configure
|
|
--- zziplib-0.13.71.org/configure 2022-02-28 06:07:23.580000000 +0000
|
|
+++ zziplib-0.13.71.sw/configure 2022-02-28 06:08:52.270000000 +0000
|
|
@@ -14802,7 +14802,7 @@
|
|
$as_echo_n "(cached) " >&6
|
|
else
|
|
if test "$cross_compiling" = "yes"; then
|
|
- case "$host_cpu" in alpha*|arm*|bfin*|hp*|mips*|sh*|sparc*|ia64|nv1)
|
|
+ case "$host_cpu" in sw_64*|alpha*|arm*|bfin*|hp*|mips*|sh*|sparc*|ia64|nv1)
|
|
ax_cv_have_aligned_access_required="yes"
|
|
;; esac
|
|
else
|
|
diff -Naur zziplib-0.13.71.org/m4/ax_check_aligned_access_required.m4 zziplib-0.13.71.sw/m4/ax_check_aligned_access_required.m4
|
|
--- zziplib-0.13.71.org/m4/ax_check_aligned_access_required.m4 2022-02-28 06:07:23.590000000 +0000
|
|
+++ zziplib-0.13.71.sw/m4/ax_check_aligned_access_required.m4 2022-02-28 06:08:21.470000000 +0000
|
|
@@ -29,7 +29,7 @@
|
|
[AC_CACHE_CHECK([if pointers to integers require aligned access],
|
|
[ax_cv_have_aligned_access_required],
|
|
[if test "$cross_compiling" = "yes"; then
|
|
- case "$host_cpu" in alpha*|arm*|bfin*|hp*|mips*|sh*|sparc*|ia64|nv1)
|
|
+ case "$host_cpu" in sw_64*|alpha*|arm*|bfin*|hp*|mips*|sh*|sparc*|ia64|nv1)
|
|
ax_cv_have_aligned_access_required="yes"
|
|
;; esac
|
|
else
|