From f485d26738c83ef564794b41188e0e082ee59b26 Mon Sep 17 00:00:00 2001 From: Greg Steuck Date: Mon, 23 May 2022 14:50:51 -0700 Subject: Remove -z wxneeded for OpenBSD With all the recent W^X fixes in the loader this workaround is not necessary any longer. I verified that the only tests failing for me on OpenBSD 7.1-current are the same (libc++ related) before and after this commit (with --fast). --- m4/fptools_set_c_ld_flags.m4 | 7 ------- 1 file changed, 7 deletions(-) (limited to 'm4') diff --git a/m4/fptools_set_c_ld_flags.m4 b/m4/fptools_set_c_ld_flags.m4 index e7e2eadac1..2a7f2262e1 100644 --- a/m4/fptools_set_c_ld_flags.m4 +++ b/m4/fptools_set_c_ld_flags.m4 @@ -93,13 +93,6 @@ AC_DEFUN([FPTOOLS_SET_C_LD_FLAGS], $5="$$5 -D_THREAD_SAFE" ;; - x86_64-*-openbsd*) - # We need -z wxneeded at least to link ghc-stage2 to workaround - # W^X issue in GHCi on OpenBSD current (as of Aug 2016) - $3="$$3 -Wl,-z,wxneeded" - $4="$$4 -z wxneeded" - ;; - esac AC_MSG_RESULT([done]) -- cgit v1.2.1