summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-06-03 20:53:20 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-06-03 20:53:20 +0000
commit1955242bad416ddaf893dbb98eb87a65605a4e71 (patch)
treeada2da2f7a4cf4ad0e61e9e4188027474a8a724d
parent143dbfc41c9a6689a6d6c246d25e8f75b4bc6202 (diff)
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); })