summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorOPNA2608 <opna2608@protonmail.com>2025-07-21 14:06:01 +0200
committerOPNA2608 <opna2608@protonmail.com>2025-07-21 14:06:02 +0200
commit07bce58d9c4c7a3be573688ff62f750b24fceacd (patch)
tree85f78ec152b0b79b3cbb3e755f74d6273374cf79 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent69a9952603bbd3f0607bfb6c6c453227fb1cd323 (diff)
cc-wrapper: Workaround gnuabielfv{1,2} support deficiency on Clang
Clang cannot handle the gnuabielfv{1,2} ABI specification in the triplet properly. It used to parse it as just "gnu", disregarding the ABI version in it and defaulting to ELFv1. Now, it completely fails to parse such target triplet: > clang: error: version 'abielfv1' in target triple 'powerpc64-unknown-linux-gnuabielfv1' is invalid So when it comes time to passing the target triplet to Clang, handle this support deficiency: 1. If the triplet ends in gnuabielfv*, shorten it to just gnu. This makes it get parsed properly. 2. After the above, re-add the ABI via the separate -mabi option. This makes it use the correct ABI for the platform.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions