diff options
Diffstat (limited to 'package/utils/busybox/patches/001-fix-non-x86-build.patch')
-rw-r--r-- | package/utils/busybox/patches/001-fix-non-x86-build.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/utils/busybox/patches/001-fix-non-x86-build.patch b/package/utils/busybox/patches/001-fix-non-x86-build.patch new file mode 100644 index 0000000000..7a47292474 --- /dev/null +++ b/package/utils/busybox/patches/001-fix-non-x86-build.patch @@ -0,0 +1,12 @@ +--- a/libbb/hash_md5_sha.c ++++ b/libbb/hash_md5_sha.c +@@ -1313,7 +1313,9 @@ unsigned FAST_FUNC sha1_end(sha1_ctx_t * + hash_size = 8; + if (ctx->process_block == sha1_process_block64 + #if ENABLE_SHA1_HWACCEL ++# if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) + || ctx->process_block == sha1_process_block64_shaNI ++# endif + #endif + ) { + hash_size = 5; |