[50121] trunk/dports/math/gsl/Portfile
jochen at macports.org
jochen at macports.org
Sun Apr 26 00:35:20 PDT 2009
Revision: 50121
http://trac.macports.org/changeset/50121
Author: jochen at macports.org
Date: 2009-04-26 00:35:16 -0700 (Sun, 26 Apr 2009)
Log Message:
-----------
Put i386-only options to gcc in platform statement,
fixes #19437
Modified Paths:
--------------
trunk/dports/math/gsl/Portfile
Modified: trunk/dports/math/gsl/Portfile
===================================================================
--- trunk/dports/math/gsl/Portfile 2009-04-26 07:21:36 UTC (rev 50120)
+++ trunk/dports/math/gsl/Portfile 2009-04-26 07:35:16 UTC (rev 50121)
@@ -65,5 +65,11 @@
variant gcc43 description "Use GCC 4.3 for compilation of GSL - optimized for host machine" {
depends_build-append port:gcc43
configure.cc gcc-mp-4.3
- configure.cflags-append "-ftree-vectorize -march=native -O3"
+ configure.cflags-append "-ftree-vectorize -O3"
}
+
+platform i386 {
+ if {[variant_isset gcc43]} {
+ configure.cflags-append "-march=native"
+ }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090426/8a654b1f/attachment.html>
More information about the macports-changes
mailing list