aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/darwin.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/darwin.h')
-rw-r--r--gcc/config/darwin.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index 70481bb..ddd508e 100644
--- a/gcc/config/darwin.h
+++ b/gcc/config/darwin.h
@@ -834,4 +834,10 @@ void add_framework_path (char *);
#define WINT_TYPE "int"
+/* Every program on darwin links against libSystem which contains the pthread
+ routines, so there's no need to explicitly call out when doing threaded
+ work. */
+#undef GOMP_SELF_SPECS
+#define GOMP_SELF_SPECS ""
+
#endif /* CONFIG_DARWIN_H */