<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-legacy-support.
</pre>
<p><a href="https://github.com/macports/macports-legacy-support/commit/83283e0876437dfa89ccb04f71be14ef17cee494">https://github.com/macports/macports-legacy-support/commit/83283e0876437dfa89ccb04f71be14ef17cee494</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 83283e0876437dfa89ccb04f71be14ef17cee494
</span>Author: Mihai Moldovan <ionic@ionic.de>
AuthorDate: Fri Oct 11 06:48:03 2019 +0200
<span style='display:block; white-space:pre;color:#404040;'> Makefile: add FORCE_ARCH variable.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Can be used to specify an architecture directly and bypass the lipo
</span><span style='display:block; white-space:pre;color:#404040;'> -archs check, that might require a newer version of cctools than the
</span><span style='display:block; white-space:pre;color:#404040;'> base system/Xcode/CLTs provide.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Mostly only useful for MacPorts.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Note that forcing an architecture also requires the compiler to generate
</span><span style='display:block; white-space:pre;color:#404040;'> single-architecture files. This is not done for technical reasons, since
</span><span style='display:block; white-space:pre;color:#404040;'> it could equally well be an architecture list and used as such, but for
</span><span style='display:block; white-space:pre;color:#404040;'> convenience and a safety check when using the muniversal PortGroup
</span><span style='display:block; white-space:pre;color:#404040;'> within MacPorts.
</span>---
Makefile | 1 +
1 file changed, 1 insertion(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/Makefile b/Makefile
</span><span style='display:block; white-space:pre;color:#808080;'>index 672aedc..b1e403d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/Makefile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/Makefile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,6 +37,7 @@ BUILDSLIBFLAGS = -qs
</span> POSTINSTALL = install_name_tool
POSTINSTALLFLAGS = -id $(DLIBPATH)
<span style='display:block; white-space:pre;background:#e0ffe0;'>+FORCE_ARCH ?=
</span> ARCHFLAGS ?=
LIPO ?= lipo
CC ?= cc $(ARCHFLAGS)
</pre><pre style='margin:0'>
</pre>