[MacPorts] #62259: ninja @1.10.2_0+universal build issues on Big Sur Intel
MacPorts
noreply at macports.org
Thu Sep 9 15:01:32 UTC 2021
#62259: ninja @1.10.2_0+universal build issues on Big Sur Intel
---------------------+------------------------
Reporter: kencu | Owner: ryandesign
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: fixed | Keywords:
Port: ninja |
---------------------+------------------------
Changes (by Ken <21211439+kencu@…>):
* resolution: wontfix => fixed
Comment:
In [changeset:"d35329911f6eda3dddca1410d7374bea15730402/macports-ports"
d35329911f6eda3dddca1410d7374bea15730402/macports-ports] (master):
{{{
#!ConfigurableCommitTicketReference repository="macports-ports"
revision="d35329911f6eda3dddca1410d7374bea15730402"
ninja: fix cross-arch universal build (#12122)
Apple's gcc compilers do not allow dependency file generation
when multiple arch flags are used
This resulted in the muniversal portgroup being used to repair the
build of ninja several years ago, however this has it's own
issues by not allowing a cross-arch universal binary to be built,
due to the way the ninja bootstraps itself during compilation.
if we strip the (unnecessary) dependency file generation by removing
the dependency flags, then the muniversal PortGroup is no longer
needed and the cross-arch universal build can succeed without
using the muniversal portgroup.
see: https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html
see: https://github.com/macports/macports-
base/commit/701e7b2597f2da954a390b1b63aa90d6f7aaba20
see: https://trac.macports.org/ticket/56494
closes: https://trac.macports.org/ticket/62259
}}}
--
Ticket URL: <https://trac.macports.org/ticket/62259#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list