Ignore:
Timestamp:
Mar 9, 2012, 3:53:40 AM (5 years ago)
Author:
jmr@…
Message:

gcc45: only enable LTO on x86_64 (#32863)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/gcc45/Portfile

    r89719 r90572  
    9999                --with-mpc=${prefix} \
    100100                --enable-stage1-checking \
    101                 --disable-multilib \
    102                 --enable-lto
     101                --disable-multilib
    103102# do NOT use MacPorts binutils -- they do not work
    104103configure.env-append    AR_FOR_TARGET=/usr/bin/ar \
     
    113112if {${configure.compiler} == "llvm-gcc-4.2"} {
    114113    configure.compiler clang
     114}
     115# LTO doesn't work for other targets, see ticket #32863
     116if {![variant_isset universal] && $build_arch == "x86_64"} {
     117    configure.args-append --enable-lto
    115118}
    116119
Note: See TracChangeset for help on using the changeset viewer.