Skip to content
  • Sergei Trofimovich's avatar
    Fixing link failure of compiler on ia64 ('-Wl,' prefixed value passed directly to ld) · 615d88d1
    Sergei Trofimovich authored
        /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.
    615d88d1