[MacPorts] #71728: xxhashlib 0.8.3 broken on Rosetta
MacPorts
noreply at macports.org
Fri Jan 3 08:36:55 UTC 2025
#71728: xxhashlib 0.8.3 broken on Rosetta
---------------------------+----------------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords: rosetta, snowleopard
Port: xxhashlib |
---------------------------+----------------------------------
Comment (by barracuda156):
Replying to [comment:2 ryandesign]:
> This problem doesn't seem specific to Rosetta, but could occur in any
cross-compiling scenario, because `$(CC) -dumpmachine` will tell you the
machine you are building ''on'' not the machine you are building ''for''.
To get the latter, the right `-arch` flags would have to be added there,
e.g. by adding `$(CFLAGS)`.
I do not know what is an easy way to get build arch in a Makefile. Is
there one?
Here the issue is not that arch flags are wrong, they are not, the problem
is that the build adds Intel-specific files, assuming that
build=host=target.
--
Ticket URL: <https://trac.macports.org/ticket/71728#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list