<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/7832cf44971d0dba9796649419b497b97dc470d3">https://github.com/macports/macports-ports/commit/7832cf44971d0dba9796649419b497b97dc470d3</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 7832cf44971 compiler_wrap PG: By default do not add arch flags to compiler wraps
</span>7832cf44971 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 7832cf44971d0dba9796649419b497b97dc470d3
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Sat May 8 16:06:50 2021 +0100
<span style='display:block; white-space:pre;color:#404040;'> compiler_wrap PG: By default do not add arch flags to compiler wraps
</span>---
_resources/port1.0/group/compiler_wrapper-1.0.tcl | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/compiler_wrapper-1.0.tcl b/_resources/port1.0/group/compiler_wrapper-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 175314058b4..6cf7b2fd20f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/compiler_wrapper-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/compiler_wrapper-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16,6 +16,9 @@ default compwrap.add_legacysupport_flags yes
</span> options compwrap.print_compiler_command
default compwrap.print_compiler_command no
<span style='display:block; white-space:pre;background:#e0ffe0;'>+options compwrap.append_arch_flags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+default compwrap.append_arch_flags no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> options compwrap.compiler_pre_flags
default compwrap.compiler_pre_flags [list]
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -60,9 +63,12 @@ proc compwrap::comp_flags {tag} {
</span> f77 { set ftag "f" }
default { set ftag ${tag} }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set flags "[get_canonical_archflags ${tag}]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ![option compwrap.append_arch_flags] ||
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [catch {get_canonical_archflags ${tag}} flags] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set flags [join ""]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> if { [info exists configure.${ftag}flags] } {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set flags "[option configure.${ftag}flags] ${flags}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ append flags " [join [option configure.${ftag}flags]]"
</span> }
return ${flags}
}
</pre><pre style='margin:0'>
</pre>