SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
lang/ruby/3.2/patches/patch-thread_pthread_h
Normal file
14
lang/ruby/3.2/patches/patch-thread_pthread_h
Normal file
|
@ -0,0 +1,14 @@
|
|||
base-gcc doesn't support __thread
|
||||
|
||||
Index: thread_pthread.h
|
||||
--- thread_pthread.h.orig
|
||||
+++ thread_pthread.h
|
||||
@@ -93,7 +93,7 @@ struct rb_thread_sched {
|
||||
#ifndef RB_THREAD_LOCAL_SPECIFIER_IS_UNSUPPORTED
|
||||
# if __STDC_VERSION__ >= 201112
|
||||
# define RB_THREAD_LOCAL_SPECIFIER _Thread_local
|
||||
-# elif defined(__GNUC__)
|
||||
+# elif defined(__clang__)
|
||||
/* note that ICC (linux) and Clang are covered by __GNUC__ */
|
||||
# define RB_THREAD_LOCAL_SPECIFIER __thread
|
||||
# endif
|
Loading…
Add table
Add a link
Reference in a new issue