⛏️ index : buildtools.git

author Jérôme Duval <jerome.duval@gmail.com> 2014-02-01 14:02:45.0 +01:00:00
committer Jérôme Duval <jerome.duval@gmail.com> 2014-02-01 14:09:38.0 +01:00:00
commit
37f5f1b71f24c9aed624735b344be172d467c8cf [patch]
tree
711f18d7ae5e0f9d71123ea972162be563c0ee61
parent
6121739fddf0aca4c158b0aa77c1d0b66ba7fc27
download
37f5f1b71f24c9aed624735b344be172d467c8cf.tar.gz

gcc: define GOMP_SELF_SPECS for Haiku.

* avoids -lpthread when using -fopenmp.

Diff

 gcc/gcc/config/haiku.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gcc/gcc/config/haiku.h b/gcc/gcc/config/haiku.h
index 8a83556..258e154 100644
--- a/gcc/gcc/config/haiku.h
+++ b/gcc/gcc/config/haiku.h
@@ -68,6 +68,14 @@
#undef  ENDFILE_SPEC
#define ENDFILE_SPEC "crtend.o%s crtn.o%s"

/* Every program on Haiku links against libroot 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 ""
#undef GTM_SELF_SPECS
#define GTM_SELF_SPECS ""

#ifdef HYBRID_SECONDARY
/* For a secondary compiler on a hybrid system, use alternative search paths.*/
#define INCLUDE_DEFAULTS \