diff options
| author | Sergei Trofimovich <slyich@gmail.com> | 2022-08-21 19:01:43 +0100 |
|---|---|---|
| committer | Sergei Trofimovich <slyich@gmail.com> | 2022-08-21 19:18:11 +0100 |
| commit | da0a5e5f3b88ce34314f1c4b29fd7c9526263ca6 (patch) | |
| tree | 829e50cf13054d1d287ab88297433e8f9b3ce82f /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 1622736ef517b067c95fd7e2bf753d3e478014da (diff) | |
cmake: fix crash on CC without libc support
Without this change pkgsLLVM fails to build any packages
as compiler-rt fails early in cmake:
CMake Error at ...-cmake-3.24.0/share/cmake-3.24/Modules/Platform/UnixPaths.cmake:53 (file):
file STRINGS file
"...-x86_64-unknown-linux-gnu-clang-wrapper-11.1.0/nix-support/orig-libc-dev"
cannot be read.
It's a regression caused by 871cf9f7b3e5a "cmake: detect libc location
at runtime #181431" where we started using `orig-libc-dev` as a libc pointer.
During pkgsLLVM pootstrap first compiler has no libc support yet.
The change skips runtime detection if there are no libc signs.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
