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

Missing architectures in machine.h #28

Open
marillat opened this issue May 25, 2014 · 2 comments
Open

Missing architectures in machine.h #28

marillat opened this issue May 25, 2014 · 2 comments

Comments

@marillat
Copy link

libmowgli-2 currently fails to build on the following architectures since the
corresponding architectures are not defined in src/libmowgli/platform/machine.h:

kfreebsd-386, kfreebsd-amd64, s390x, arm64, m68k

See Debian bug https://bugs.debian.org/745608

@grawity
Copy link
Contributor

grawity commented May 29, 2014

Does it compile and run properly if those architectures are added manually?

@marillat
Copy link
Author

With this patch kfreebsd-* build fine. I can't test for other arches.

--- a/src/libmowgli/platform/machine.h
+++ b/src/libmowgli/platform/machine.h
@@ -186,7 +186,7 @@
 #endif
 #endif

-#if defined __linux || defined __linux__
+#if defined __linux || defined __linux__ || defined __FreeBSD_kernel__
 #define MOWGLI_OS_LINUX
 #define MOWGLI_OS linux
 #define MOWGLI_OS_THREADS_POSIX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants