Skip to content

sparc32 fix #2021

Closed
Closed
@wbx-github

Description

@wbx-github

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++])

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions