X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FMakefile;h=adddc0611b7171312c60592f61ee2a3e9c848a3d;hb=090a9b7dbbe8cdb4f6d211ac0c7daeb1ddc7ff7e;hp=7cd21c627c04eab8a0514b006416201daa22709a;hpb=e415eeaf6c7771488af24758ca5b9c22c42be3a6;p=ghc-hetmet.git diff --git a/compiler/Makefile b/compiler/Makefile index 7cd21c6..adddc06 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -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