<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a029d540b31815e8ae695cc51c7155d136db9f76">https://github.com/macports/macports-ports/commit/a029d540b31815e8ae695cc51c7155d136db9f76</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 a029d540b31 muniversal PG: add finer control `-arch` flag
</span>a029d540b31 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit a029d540b31815e8ae695cc51c7155d136db9f76
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Wed Jun 12 08:45:30 2024 -0700
<span style='display:block; white-space:pre;color:#404040;'> muniversal PG: add finer control `-arch` flag
</span>---
_resources/port1.0/group/muniversal-1.1.tcl | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/muniversal-1.1.tcl b/_resources/port1.0/group/muniversal-1.1.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 1375acf1fa0..1a11e800547 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/muniversal-1.1.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/muniversal-1.1.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -74,6 +74,10 @@ default muniversal.arch_flag {yes}
</span> options muniversal.arch_compiler
default muniversal.arch_compiler {no}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# if yes, append architecture flag to build compiler name
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+options muniversal.arch_build_compiler
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+default muniversal.arch_build_compiler {${muniversal.arch_compiler}}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> ##########################################################################################
# MacPorts options for different architectures
##########################################################################################
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -724,7 +728,7 @@ proc parse_environment {command} {
</span> append_to_environment_value ${command} CXXCPP_FOR_BUILD {*}"[portconfigure::configure_get_compiler cpp]"
append_to_environment_value ${command} CPPFLAGS_FOR_BUILD {*}[option configure.cppflags_for_build]
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if { [option muniversal.arch_compiler] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [option muniversal.arch_build_compiler] } {
</span> if { [option configure.append_build_flags_to_compiler] } {
append_to_environment_value ${command} CC_FOR_BUILD {*}"[portconfigure::configure_get_compiler cc] [portconfigure::configure_get_archflags cc] [option configure.cflags_for_build]"
append_to_environment_value ${command} CXX_FOR_BUILD {*}"[portconfigure::configure_get_compiler cxx] [portconfigure::configure_get_archflags cxx] [option configure.cxxflags_for_build]"
</pre><pre style='margin:0'>
</pre>