summaryrefslogtreecommitdiff
path: root/src/m/pmax.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/m/pmax.h')
-rw-r--r--src/m/pmax.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/m/pmax.h b/src/m/pmax.h
index 4ddb857b8e8..54216d9f3a5 100644
--- a/src/m/pmax.h
+++ b/src/m/pmax.h
@@ -27,13 +27,13 @@ NOTE-END */
#define START_FILES pre-crt0.o /usr/lib/cmplrs/cc/crt0.o
#endif
-#ifdef __NetBSD__
+#if defined (__NetBSD__) || defined (__OpenBSD__)
#undef START_FILES
#undef RUN_TIME_REMAP
#define START_FILES pre-crt0.o /usr/lib/crt0.o
#define CANNOT_DUMP
#undef UNEXEC
-#endif /* NetBSD */
+#endif /* NetBSD || OpenBSD */
/* Supposedly the following will overcome a kernel bug. */
#undef LD_SWITCH_MACHINE