Changeset 91228 for trunk/dports/cross


Ignore:
Timestamp:
Mar 26, 2012, 10:35:22 AM (7 years ago)
Author:
g5pw@…
Message:

cross/avr-gcc:
Made LTO optional, but default

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/cross/avr-gcc/Portfile

    r91227 r91228  
    2323    configure.compiler      llvm-gcc-4.2
    2424}
     25
    2526configure.args-delete   --enable-languages="c,objc,c++,obj-c++"
    26 
    2727configure.args-append   --enable-languages="c,c++" \
    28                         --enable-lto
    2928                       
     29default_variants        +lto
    3030
    3131if {$build_arch != "" && ${os.platform} == "darwin"} {
     
    3333                          --host=${build_arch}-apple-darwin${os.major}
    3434}
     35
     36variant lto description {enables link time optimization} {
     37    configure.args-append   --enable-lto
     38}
Note: See TracChangeset for help on using the changeset viewer.