[118946] trunk/dports/science/openmpi/Portfile
sean at macports.org
sean at macports.org
Sun Apr 13 19:32:18 PDT 2014
Revision: 118946
https://trac.macports.org/changeset/118946
Author: sean at macports.org
Date: 2014-04-13 19:32:18 -0700 (Sun, 13 Apr 2014)
Log Message:
-----------
openmpi: sync wrapper flags with mpich
Modified Paths:
--------------
trunk/dports/science/openmpi/Portfile
Modified: trunk/dports/science/openmpi/Portfile
===================================================================
--- trunk/dports/science/openmpi/Portfile 2014-04-14 02:32:11 UTC (rev 118945)
+++ trunk/dports/science/openmpi/Portfile 2014-04-14 02:32:18 UTC (rev 118946)
@@ -97,15 +97,19 @@
--with-wrapper-ldflags="-Wl,-flat_namespace" \
LIBS="-Wl,-flat_namespace"
+build.dir ${configure.dir}
+destroot.dir ${build.dir}
+
# remove -arch from ldflags, ticket #22833
configure.ld_archflags
-
configure.ccache no
-build.dir ${configure.dir}
+# We're making compiler wrappers here... don't default to -O2 for wrappers.
+# Actual library code is compiled with -O2 via --enable-fast=O2 configure arg
+configure.optflags-delete -O2 -Os
+configure.cppflags-delete -I${prefix}/include
+configure.ldflags-delete -L${prefix}/lib
-destroot.dir ${build.dir}
-
if {${subport} != ${name}} {
set cname [lindex [split ${subport} -] end]
if {${cname} == "default"} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140413/6101b6a9/attachment.html>
More information about the macports-changes
mailing list