Blame patches/bdwgc_pre.local.patch
|
|
34629e |
--- bdwgc/configure.ac.orig 2022-01-02 10:17:27.670680925 +0100
|
|
|
34629e |
+++ bdwgc/configure.ac 2022-01-02 10:19:10.029685443 +0100
|
|
|
34629e |
@@ -206,7 +206,7 @@
|
|
|
e22af7 |
*-*-aix* | *-*-android* | *-*-cygwin* | *-*-darwin* | *-*-dragonfly* | \
|
|
|
e22af7 |
*-*-freebsd* | *-*-haiku* | *-*-hpux11* | *-*-irix* | \
|
|
|
e22af7 |
*-*-kfreebsd*-gnu | *-*-gnu* | *-*-*linux* | *-*-msys* | *-*-nacl* | \
|
|
|
e22af7 |
- *-*-netbsd* | *-*-openbsd* | *-*-osf* | *-*-solaris*)
|
|
|
e22af7 |
+ *-*-netbsd* | *-*-openbsd* | *-*-osf* | *-*-solaris* | *-*-midipix*)
|
|
|
e22af7 |
AC_DEFINE(GC_THREADS)
|
|
|
e22af7 |
AC_DEFINE([_REENTRANT], [1],
|
|
|
e22af7 |
[Required define if using POSIX threads.])
|
|
|
34629e |
@@ -252,6 +252,10 @@
|
|
|
e22af7 |
THREADDLLIBS=""
|
|
|
e22af7 |
win32_threads=true
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
8a0f36 |
;;
|
|
|
e22af7 |
+ *-*-midipix*)
|
|
|
e22af7 |
+ # libpthread is part of libc
|
|
|
e22af7 |
+ THREADDLLIBS=""
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
8a0f36 |
+ ;;
|
|
|
e22af7 |
*-*-mingw*)
|
|
|
e22af7 |
AC_DEFINE(GC_WIN32_PTHREADS)
|
|
|
e22af7 |
# Using pthreads-win32 (or other non-Cygwin pthreads) library.
|
|
|
34629e |
@@ -810,7 +814,7 @@
|
|
|
34629e |
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
|
|
|
34629e |
# ifdef __CYGWIN__
|
|
|
34629e |
# define _GNU_SOURCE 1
|
|
|
34629e |
-# elif defined(__linux__) || defined(__GLIBC__) || defined(__GNU__)
|
|
|
34629e |
+# elif defined(__linux__) || defined(__GLIBC__) || defined(__GNU__) || defined(__midipix__)
|
|
|
34629e |
# define _GNU_SOURCE 1
|
|
|
34629e |
# endif
|
|
|
34629e |
# include <pthread.h>
|