[MacPorts] #64528: x265 fails to build for ppc on 10.6.8 (Rosetta): error: unrecognized command line option "-march=i686"
MacPorts
noreply at macports.org
Sun Feb 6 11:46:14 UTC 2022
#64528: x265 fails to build for ppc on 10.6.8 (Rosetta): error: unrecognized
command line option "-march=i686"
---------------------------+-------------------------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: powerpc, snowleopard, rosetta
Port: x265 |
---------------------------+-------------------------------------------
Comment (by barracuda156):
Does anyone know correct syntax for this?
{{{
if(DEFINED OVERRIDE_SYSTEM_PROCESSOR)
set(CMAKE_SYSTEM_PROCESSOR ${OVERRIDE_SYSTEM_PROCESSOR})
endif()
}}}
On 10.6 PPC `x265` just builds with no changes to port file. So the only
problem is that on 10.6.8 X86 gets forced by Cmake.
Macports has this patch quoted above, however adding `configure.env-append
OVERRIDE_SYSTEM_PROCESSOR="POWER"` does not help.
--
Ticket URL: <https://trac.macports.org/ticket/64528#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list