[91228] trunk/dports/cross/avr-gcc/Portfile
g5pw at macports.org
g5pw at macports.org
Mon Mar 26 03:35:24 PDT 2012
Revision: 91228
https://trac.macports.org/changeset/91228
Author: g5pw at macports.org
Date: 2012-03-26 03:35:22 -0700 (Mon, 26 Mar 2012)
Log Message:
-----------
cross/avr-gcc:
Made LTO optional, but default
Modified Paths:
--------------
trunk/dports/cross/avr-gcc/Portfile
Modified: trunk/dports/cross/avr-gcc/Portfile
===================================================================
--- trunk/dports/cross/avr-gcc/Portfile 2012-03-26 10:07:09 UTC (rev 91227)
+++ trunk/dports/cross/avr-gcc/Portfile 2012-03-26 10:35:22 UTC (rev 91228)
@@ -22,13 +22,17 @@
if {${configure.compiler} == "clang"} {
configure.compiler llvm-gcc-4.2
}
+
configure.args-delete --enable-languages="c,objc,c++,obj-c++"
-
configure.args-append --enable-languages="c,c++" \
- --enable-lto
+default_variants +lto
if {$build_arch != "" && ${os.platform} == "darwin"} {
configure.args-append --build=${build_arch}-apple-darwin${os.major} \
--host=${build_arch}-apple-darwin${os.major}
}
+
+variant lto description {enables link time optimization} {
+ configure.args-append --enable-lto
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120326/08c5c4ab/attachment.html>
More information about the macports-changes
mailing list