Open marillat opened 10 years ago
Does it compile and run properly if those architectures are added manually?
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
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