From 80b1b8ce7b28e2737c74ff7f47366e39502162d6 Mon Sep 17 00:00:00 2001 From: Gabor Pali Date: Thu, 14 Aug 2014 21:26:11 +0000 Subject: - Fix escaping linker options at configure; this fixes build with SSP Submitted by: bdrewery Obtained from: FreeBSD Haskell --- lang/ghc/files/patch-aclocal.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lang/ghc') diff --git a/lang/ghc/files/patch-aclocal.m4 b/lang/ghc/files/patch-aclocal.m4 index a731bc9751c5..8dc8815f3e13 100644 --- a/lang/ghc/files/patch-aclocal.m4 +++ b/lang/ghc/files/patch-aclocal.m4 @@ -14,7 +14,7 @@ dnl the user to pass them in via LDFLAGS. changequote(, )dnl - GHC_LDFLAGS=`echo $LDFLAGS | sed 's/\(^\| \)\([^ ]\)/\1-optl\2/g'` -+ GHC_LDFLAGS=`echo $LDFLAGS | sed 's/-Wl,-/-optl -/g'` ++ GHC_LDFLAGS=`echo $LDFLAGS | sed -E 's/\(^\| \)\([^ ]\)/\1-optl\2/g'` changequote([, ])dnl if ! "$WithGhc" $GHC_LDFLAGS -v0 -no-user-$GHC_PACKAGE_DB_FLAG -hidir utils/ghc-pwd/dist-boot -odir utils/ghc-pwd/dist-boot -stubdir utils/ghc-pwd/dist-boot --make utils/ghc-pwd/Main.hs -o utils/ghc-pwd/dist-boot/ghc-pwd then -- cgit v1.2.3