Hi Matthias,

As promised, the second piece of the 8.10.1-provoked changes
applicable to 8.6.4.
I tested on amd64-current by rebuilding a few packages (the deps of
hs-xmonad-contrib).

Thanks
Greg
-- 
nest.cx is Gmail hosted, use PGP: https://pgp.key-server.io/0x0B1542BD8DF5A1B0
Fingerprint: 5E2B 2D0E 1E03 2046 BEC3  4D50 0B15 42BD 8DF5 A1B0
From ce549a87690a9308af788ea08d3148a6442e3ec7 Mon Sep 17 00:00:00 2001
From: Greg Steuck <[email protected]>
Date: Sun, 5 Apr 2020 14:56:42 -0700
Subject: [PATCH 2/2] Remove -no-pie from GHC_CC_OPTS.

---
 lang/ghc/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git lang/ghc/Makefile lang/ghc/Makefile
index 22c007f734e..b3f4db5f174 100644
--- lang/ghc/Makefile
+++ lang/ghc/Makefile
@@ -12,7 +12,7 @@ COMMENT =		compiler for the functional language Haskell
 NO_CCACHE =		Yes
 
 DISTNAME =		ghc-${MODGHC_VER}
-REVISION =		2
+REVISION =		3
 CATEGORIES =		lang devel
 HOMEPAGE =		https://www.haskell.org/ghc/
 
@@ -127,7 +127,6 @@ CONFIGURE_ARGS +=	--disable-ld-override
 
 # XXX: wxneeded is a hack. Fix rts/Linker.c, mmapForLinker() and
 #      loadObj_() instead.
-GHC_CC_OPTS =		-fno-pie -nopie
 CONFIGURE_ENV +=	CONF_CC_OPTS_STAGE0="${GHC_CC_OPTS}" \
 			CONF_CC_OPTS_STAGE1="${GHC_CC_OPTS}" \
 			CONF_CC_OPTS_STAGE2="${GHC_CC_OPTS}" \
-- 
2.26.0

Reply via email to