btrev43071 adds 1 changeset to branch 'master' old head: 6121739fddf0aca4c158b0aa77c1d0b66ba7fc27 new head: 37f5f1b71f24c9aed624735b344be172d467c8cf overview: http://cgit.haiku-os.org/buildtools/log/?qt=range&q=37f5f1b+%5E6121739 ---------------------------------------------------------------------------- 37f5f1b: gcc: define GOMP_SELF_SPECS for Haiku. * avoids -lpthread when using -fopenmp. [ Jérôme Duval <jerome.duval@xxxxxxxxx> ] ---------------------------------------------------------------------------- Revision: btrev43071 Commit: 37f5f1b71f24c9aed624735b344be172d467c8cf URL: http://cgit.haiku-os.org/buildtools/commit/?id=37f5f1b Author: Jérôme Duval <jerome.duval@xxxxxxxxx> Date: Sat Feb 1 13:02:45 2014 UTC ---------------------------------------------------------------------------- 1 file changed, 8 insertions(+) gcc/gcc/config/haiku.h | 8 ++++++++ ---------------------------------------------------------------------------- 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 @@ Boston, MA 02111-1307, USA. */ #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 \