[MacPorts] #70130: zstdConfig.cmake uses Linux flags on some macOS which breaks configure
MacPorts
noreply at macports.org
Sat Jun 1 18:19:11 UTC 2024
#70130: zstdConfig.cmake uses Linux flags on some macOS which breaks configure
-------------------------------+---------------------------------
Reporter: barracuda156 | Owner: MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Resolution: | Keywords:
Port: zstdConfig.cmake |
-------------------------------+---------------------------------
Comment (by barracuda156):
Replying to [comment:1 ryandesign]:
> Replying to [ticket:70130 barracuda156]:
> > Problem is that CMake uses Linux-specific linker flags,
>
> Which flag is Linux-specific?
The linker does not see `-z noexecstack` as a linker flag at all, which is
why we an error:
{{{
powerpc-apple-darwin10-gcc-4.2.1: noexecstack: No such file or directory
}}}
Of course pthreads are supported, but this flags breaks it.
--
Ticket URL: <https://trac.macports.org/ticket/70130#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list