Fixing link failure of compiler on ia64 ('-Wl,' prefixed value passed directly to ld)
authorSergei Trofimovich <slyfox@community.haskell.org>
Thu, 8 Jul 2010 18:09:43 +0000 (18:09 +0000)
committerSergei Trofimovich <slyfox@community.haskell.org>
Thu, 8 Jul 2010 18:09:43 +0000 (18:09 +0000)
commit615d88d1912a81ca3bef44010285424f6c454449
treec9f72570d6220daa2032188eee7554d06e136cf4
parente94570ba7c84444f034b8d552c05f8594532b329
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.
compiler/ghc.mk