Ticket #32863: Portfile.diff

File Portfile.diff, 663 bytes (added by mklein-de (Michael Klein), 12 years ago)

--enable-lto only for x86_64

  • Portfile

     
    9898                --with-mpfr=${prefix} \
    9999                --with-mpc=${prefix} \
    100100                --enable-stage1-checking \
    101                 --disable-multilib \
    102                 --enable-lto
     101                --disable-multilib
     102
    103103# do NOT use MacPorts binutils -- they do not work
    104104configure.env-append    AR_FOR_TARGET=/usr/bin/ar \
    105105                        AS_FOR_TARGET=/usr/bin/as \
     
    147147        configure.args-append --enable-fully-dynamic-string
    148148}
    149149
     150platform darwin x86_64 {
     151        configure.args-append --enable-lto
     152}
     153
    150154platform powerpc {
    151155    configure.universal_archs ppc ppc64
    152156}