summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-02-17 12:57:53 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-02-17 12:57:53 +0000
commit6766fe838a8cc3acfef5b031d099cc884aa51a8b (patch)
treee9eefb596571be65a5f25a584062d8eb55d6e33a /gnu/usr.bin/gcc
parentaa56d457d77dcf7194c099c5a9ade1eee9ae05b0 (diff)
Future fix: help egcs avoid #pragma weak, which we don't support.
Diffstat (limited to 'gnu/usr.bin/gcc')
-rw-r--r--gnu/usr.bin/gcc/config/openbsd.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/usr.bin/gcc/config/openbsd.h b/gnu/usr.bin/gcc/config/openbsd.h
index 2d555847b08..47022291ba0 100644
--- a/gnu/usr.bin/gcc/config/openbsd.h
+++ b/gnu/usr.bin/gcc/config/openbsd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: openbsd.h,v 1.16 1999/02/17 12:54:27 espie Exp $ */
+/* $OpenBSD: openbsd.h,v 1.17 1999/02/17 12:57:52 espie Exp $ */
/* common OpenBSD configuration.
All OpenBSD architectures include this file, which is intended as
@@ -272,4 +272,8 @@ do { \
fixed yet, so DON'T activate it by default.
*/
/* #define DEFAULT_VTABLE_THUNKS 1 */
-
+
+/* Otherwise, since we support weak, gthr.h erroneously tries to use
+ #pragma weak
+ */
+#define GTHREAD_USE_WEAK 0