anonymous / sh4_mutex.patch.txt
Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

sh4_mutex.patch

View sh4_mutex.patch.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
--- configure.in.orig 2013-04-25 15:16:02.000000000 +0800
+++ configure.in 2013-04-25 15:17:38.000000000 +0800
@@ -87,6 +87,12 @@
# OS-specific tests
case "${host_os}" in
+ sh-* | sh[34]*-*)
+ # http://stackoverflow.com/questions/16196749/compile-zmq-on-sh4-cpu-and-occurs-referenced-by-dso-error
+ AC_DEFINE(ZMQ_FORCE_MUTEXES, 1, [Force to use mutexes])
+ CPPFLAGS="-D_GNU_SOURCE $CPPFLAGS"
+ AC_DEFINE(ZMQ_HAVE_LINUX, 1, [Have Linux OS])
+ ;;
*linux*)
# Define on Linux to enable all library features. Define if using a gnu compiler
if test "x$GXX" = "xyes"; then
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.