--- ./js-1.8.5/js/src/assembler/wtf/Platform.h.orig	2011-03-31 15:08:36.000000000 -0400
+++ ./js-1.8.5/js/src/assembler/wtf/Platform.h	2024-02-05 02:46:23.601607000 -0500
@@ -935,8 +935,9 @@
 #endif
 /* Setting this flag prevents the assembler from using RWX memory; this may improve
    security but currectly comes at a significant performance cost. */
-#if WTF_PLATFORM_IPHONE
+#if WTF_PLATFORM_OPENBSD || WTF_PLATFORM_IPHONE
 #define ENABLE_ASSEMBLER_WX_EXCLUSIVE 1
+#define WTF_ENABLE_ASSEMBLER_WX_EXCLUSIVE 1
 #else
 #define ENABLE_ASSEMBLER_WX_EXCLUSIVE 0
 #endif
