[99920] trunk/dports/science/fcl/Portfile

mmoll at macports.org mmoll at macports.org
Tue Nov 20 21:28:01 PST 2012


Revision: 99920
          https://trac.macports.org/changeset/99920
Author:   mmoll at macports.org
Date:     2012-11-20 21:28:01 -0800 (Tue, 20 Nov 2012)
Log Message:
-----------
science/fcl: disable '-march=native' for old compilers

Modified Paths:
--------------
    trunk/dports/science/fcl/Portfile

Modified: trunk/dports/science/fcl/Portfile
===================================================================
--- trunk/dports/science/fcl/Portfile	2012-11-21 04:27:27 UTC (rev 99919)
+++ trunk/dports/science/fcl/Portfile	2012-11-21 05:28:01 UTC (rev 99920)
@@ -17,3 +17,11 @@
 checksums           md5     5f1fe2b186f033f98e6d33fb0dfc9195 \
                     sha1    486f4ffb1e293ba15c74983d14dbcd839b986eed \
                     rmd160  a06c5ce2b27a97a00af6955ffb7950598dfad973
+
+if {${configure.compiler} == "gcc-4.0" ||
+    ${configure.compiler} == "gcc-4.2" ||
+    ${configure.compiler} == "llvm-gcc-4.2"} {
+    # this flag disables the compile flag "-march=native",
+    # which appears to be unsupported by these compilers
+    configure.args-append -DFCL_USE_SSE=OFF
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121120/ed53bc9c/attachment.html>


More information about the macports-changes mailing list