darlinghq / darling

Darwin/macOS emulation layer for Linux
http://www.darlinghq.org
GNU General Public License v3.0
11.56k stars 447 forks source link

Disable dependency file generation #1554

Closed johnpanos closed 1 week ago

johnpanos commented 1 week ago

The build fails on cmake v3.31.0, as it starts defaulting CMAKE_${LANG}_LINKER_DEPFILE_SUPPORTED to TRUE by default. Having that set to TRUE will make cmake add --dependency-file to the linker flags, however ld64 in cctools does not support this flag, causing the build to break.

This PR disables dependency file generation to match the previous behavior.

CuriousTommy commented 1 week ago

Thank you for your contribution!