summaryrefslogtreecommitdiff
path: root/m4/fptools_set_c_ld_flags.m4
diff options
context:
space:
mode:
authorGreg Steuck <greg@nest.cx>2022-05-23 14:50:51 -0700
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-05-24 10:51:08 -0400
commitf485d26738c83ef564794b41188e0e082ee59b26 (patch)
tree89f24820ff25414dbc57e53971e1afbb96d671df /m4/fptools_set_c_ld_flags.m4
parent1db877a3d513e934625d5dc3ad6e9e8ca9ba9519 (diff)
downloadhaskell-f485d26738c83ef564794b41188e0e082ee59b26.tar.gz
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).
Diffstat (limited to 'm4/fptools_set_c_ld_flags.m4')
-rw-r--r--m4/fptools_set_c_ld_flags.m47
1 files changed, 0 insertions, 7 deletions
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])