zeromq / libzmq

ZeroMQ core engine in C++, implements ZMTP/3.1
https://www.zeromq.org
Mozilla Public License 2.0
9.63k stars 2.35k forks source link

sparc32 fix #2021

Closed wbx-github closed 8 years ago

wbx-github commented 8 years ago

Hi, can something like this be added to allow building for sparc32 (sparcv8). Thanks

allow sparc32 compile

tested with buildroot, qemu and mongrel
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>

diff -Nur zeromq-4.1.4.orig/configure.ac zeromq-4.1.4/configure.ac
--- zeromq-4.1.4.orig/configure.ac      2015-11-04 09:55:13.000000000 +0100
+++ zeromq-4.1.4/configure.ac   2016-06-03 04:41:16.167033535 +0200
@@ -293,7 +293,7 @@

 # CPU-specific optimizations
 case "${host_cpu}" in
-    *sparc*)
+    *sparc64*)
         AC_LANG_PUSH([C++])
         LIBZMQ_CHECK_LANG_FLAG_PREPEND([-mcpu=v9])
         AC_LANG_POP([C++])
bluca commented 8 years ago

Could you please send a pull request? Please have a quick read at http://zeromq.org/docs:contributing

bluca commented 8 years ago

Thanks for the PRs, closing as this was fixed by https://github.com/zeromq/libzmq/pull/2024 and https://github.com/zeromq/zeromq4-1/pull/125