Commit 150682e5 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

If unregisterised, link with -optl-Wl,--relax on IA64

This fixes part of trac #856
parent b808a317
......@@ -771,6 +771,13 @@ endif
SRC_LD_OPTS += -no-link-chk
ifeq "$(GhcUnregisterised)" "NO"
ifeq "$(HOSTPLATFORM)" "ia64-unknown-linux"
# needed for generating proper relocation in large binaries: trac #856
SRC_LD_OPTS += -optl-Wl,--relax
endif
endif
# -----------------------------------------------------------------------------
# create ghc-inplace, a convenient way to run ghc from the build tree...
# See comments in $(FPTOOLS_TOP)/utils/ghc-pkg/Makefile for why we use
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment