<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/cf786ef40e16793e369dd41e7e44730094f1f6d8">https://github.com/macports/macports-ports/commit/cf786ef40e16793e369dd41e7e44730094f1f6d8</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new cf786ef gobject_introspection-1.0.tcl: Add comment about -arch flags
</span>cf786ef is described below
<span style='display:block; white-space:pre;color:#808000;'>commit cf786ef40e16793e369dd41e7e44730094f1f6d8
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Thu Mar 22 18:19:31 2018 -0500
<span style='display:block; white-space:pre;color:#404040;'> gobject_introspection-1.0.tcl: Add comment about -arch flags
</span>---
_resources/port1.0/group/gobject_introspection-1.0.tcl | 15 +++++++++++++++
1 file changed, 15 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/gobject_introspection-1.0.tcl b/_resources/port1.0/group/gobject_introspection-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 8c204b4..c004287 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/gobject_introspection-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/gobject_introspection-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -82,6 +82,21 @@ pre-build {
</span> lappend merger_destroot_args(${arch}) CC='${configure.cc} -arch ${arch}'
}
} else {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # This deliberately does not use [get_canonical_archflags cc]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # because that would cause g-ir-scanner to report an error:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # clang: error: cannot use 'cpp-output' output with multiple -arch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # options
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # This means that the $CC passed to make at build and destroot time
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # does not contain the right -arch flags for universal builds that
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # don't use the muniversal portgroup, but this is assumed not to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # affect the output of g-ir-scanner. It is even possible that the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # -arch flags aren't necessary at all for g-ir-scanner, but this has
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # not been investigated.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # The non-g-ir-scanner parts of the build are assumed to build with
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the correct -arch flags as determined at configure time.
</span> build.args-append CC="${configure.cc} ${configure.cc_archflags}"
destroot.args-append CC="${configure.cc} ${configure.cc_archflags}"
}
</pre><pre style='margin:0'>
</pre>