summaryrefslogtreecommitdiff
path: root/compiler/ghc.mk
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@community.haskell.org>2010-07-08 18:09:43 +0000
committerSergei Trofimovich <slyfox@community.haskell.org>2010-07-08 18:09:43 +0000
commit615d88d1912a81ca3bef44010285424f6c454449 (patch)
treec9f72570d6220daa2032188eee7554d06e136cf4 /compiler/ghc.mk
parente94570ba7c84444f034b8d552c05f8594532b329 (diff)
downloadhaskell-615d88d1912a81ca3bef44010285424f6c454449.tar.gz
Fixing link failure of compiler on ia64 ('-Wl,' prefixed value passed directly to ld)
/usr/bin/ld -Wl,--relax -r -o dist-stage1/build/HSghc-6.10.4.o \ dist-stage1/build/BasicTypes.o dist-stage1/build/DataCon.o ... /usr/bin/ld: unrecognized option '-Wl,--relax' If we just drop '-Wl,' part it will not help as '-r' and '--relax' are incompatible. Looks like '-Wl,--relax' was skipped by earlier binutils' ld as unknown option. Removing ia64 specific path.
Diffstat (limited to 'compiler/ghc.mk')
-rw-r--r--compiler/ghc.mk4
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/ghc.mk b/compiler/ghc.mk
index 2daf6832f0..3c8c95f9c3 100644
--- a/compiler/ghc.mk
+++ b/compiler/ghc.mk
@@ -336,10 +336,6 @@ compiler_CONFIGURE_OPTS += --ld-options=-E
endif
ifeq "$(GhcUnregisterised)" "NO"
-ifeq "$(HOSTPLATFORM)" "ia64-unknown-linux"
-# needed for generating proper relocation in large binaries: trac #856
-compiler_CONFIGURE_OPTS += --ld-option=-Wl,--relax
-endif
else
compiler_CONFIGURE_OPTS += --ghc-option=-DNO_REGS
endif