diff --git a/configure b/configure index fa83e2184f..cab830a4c9 100755 --- a/configure +++ b/configure @@ -5903,6 +5903,17 @@ if test "$mingw32" = "yes" ; then done fi +# Disable OpenBSD W^X if available +if test "$tcg" = "yes" && test "$targetos" = "OpenBSD"; then + cat > $TMPC <