Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sparc32 fix #2021

Closed
wbx-github opened this issue Jun 3, 2016 · 2 comments
Closed

sparc32 fix #2021

wbx-github opened this issue Jun 3, 2016 · 2 comments

Comments

@wbx-github
Copy link

wbx-github commented Jun 3, 2016

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
Copy link
Member

bluca commented Jun 3, 2016

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

@bluca
Copy link
Member

bluca commented Jun 4, 2016

Thanks for the PRs, closing as this was fixed by #2024 and zeromq/zeromq4-1#125

@bluca bluca closed this as completed Jun 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants