summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2004-06-03 20:53:19 +0000
committermiod <miod@openbsd.org>2004-06-03 20:53:19 +0000
commitfe4bf6d08695a72247063773265f59c707c14dbd (patch)
tree2218ffae05f68ba6ea31689a4d52ab4ccc459d42
parentDefine LIBARCH for alpha and amd64, too; ok espie@ tdeval@ (diff)
downloadwireguard-openbsd-fe4bf6d08695a72247063773265f59c707c14dbd.tar.xz
wireguard-openbsd-fe4bf6d08695a72247063773265f59c707c14dbd.zip
Make sure libobjc is self-contained on vax, so that .m programs can link.
ok deraadt@
-rw-r--r--gnu/egcs/libobjc/encoding.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/egcs/libobjc/encoding.c b/gnu/egcs/libobjc/encoding.c
index 4749ba026e9..bd4e0877e98 100644
--- a/gnu/egcs/libobjc/encoding.c
+++ b/gnu/egcs/libobjc/encoding.c
@@ -30,6 +30,10 @@ Boston, MA 02111-1307, USA. */
#include "objc-api.h"
#include "encoding.h"
+#ifdef __vax__
+#define target_flags TARGET_DEFAULT
+#endif
+
#define MAX(X, Y) \
({ typeof(X) __x = (X), __y = (Y); \
(__x > __y ? __x : __y); })