Fixing link failure of compiler on ia64 ('-Wl,' prefixed value passed directly…

Authored by trofi on Jul 8 2010, 1:09 PM.

Description

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.

Details

Committed
trofiJul 8 2010, 1:09 PM
Pushed
bgamariAug 25 2016, 1:39 PM
Parents
rGHCDIFFe94570ba7c84: LLVM: Allow getelementptr to use LlvmVar for indexes.
Branches
Unknown
Tags
Unknown