diff --git a/configure b/configure index fa83e2184f98c9b842363afded548107b45c7a43..cab830a4c920d74fa6c7874dbb46675ad5f307d3 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 <