On Tue, Nov 1, 2016 at 5:12 PM, Matthias Kilian <k...@outback.escape.de> wrote:
> -# XXX: wxneeded is a hack. Fix rts/Linker.c, mmapForLinker() and
> -#      loadObj_() instead.
> -USE_WXNEEDED =         Yes
> +# We can't use the wrapper script, because it then gets hardcoded into
> +# the packaged ghc. So we explicitely use -Wl,-z,wxneeded (see
> +# CONFIGURE_ENV below)
> +# USE_WXNEEDED =               Yes
>
>  WANTLIB +=             c iconv m ncursesw pthread util
>
> @@ -106,12 +107,14 @@ CFLAGS +=         -fno-pie
>  CONFIGURE_STYLE =      gnu
>  CONFIGURE_ARGS +=      --with-iconv-includes=${LOCALBASE}/include \
>                         --with-iconv-libraries=${LOCALBASE}/lib

Have you tried to use USE_WXNEEDED = Yes and add
CONFIGURE_ARGS += --with-ld=/usr/bin/ld

?

Anyway, thanks for fixing this,
Karel

Reply via email to