hs ports are done. Please note that it still doesn't use shared libraries, so still no ghci (and a lot of hs-ports not buildable) on i386.
22 lines
1.3 KiB
Plaintext
22 lines
1.3 KiB
Plaintext
$OpenBSD: patch-configure,v 1.13 2014/11/22 20:23:23 kili Exp $
|
|
--- configure.orig Thu Jul 10 07:04:54 2014
|
|
+++ configure Sun Nov 2 22:01:38 2014
|
|
@@ -4076,7 +4076,7 @@ $as_echo "$as_me: Building in-tree ghc-pwd" >&6;}
|
|
rm -rf utils/ghc-pwd/dist-boot
|
|
mkdir utils/ghc-pwd/dist-boot
|
|
GHC_LDFLAGS=`echo $LDFLAGS | sed 's/\(^\| \)\([^ ]\)/\1-optl\2/g'`
|
|
- 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
|
|
+ if ! "$WithGhc" $GHC_LDFLAGS -optl -nopie -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
|
|
as_fn_error $? "Building ghc-pwd failed" "$LINENO" 5
|
|
fi
|
|
@@ -7281,7 +7281,7 @@ $as_echo_n "checking for extra options to pass gcc whe
|
|
if ${fp_cv_gcc_extra_opts+:} false; then :
|
|
$as_echo_n "(cached) " >&6
|
|
else
|
|
- fp_cv_gcc_extra_opts=
|
|
+ fp_cv_gcc_extra_opts=-fno-pie
|
|
fp_version1=$fp_cv_gcc_version; fp_version2=3.4
|
|
fp_save_IFS=$IFS; IFS='.'
|
|
while test x"$fp_version1" != x || test x"$fp_version2" != x
|