summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorZhaofeng Li <hello@zhaofeng.li>2021-12-16 21:06:07 -0800
committerZhaofeng Li <hello@zhaofeng.li>2022-06-06 21:34:52 -0700
commit8807cab81b09fa3c1d611e44a3ba4ac446d09f08 (patch)
treebb8c99832774371f1941552f8b5a620ff44ae334 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent6919d2ed24e18a5dde6479c77532181eca4c9322 (diff)
libffi: Pass --build and --host to configure script
Without this, building `libffi` would do something horrible when natively targeting `armv5tel-linux` on an `aarch64-linux` machine using the 32-bit compatibility sub-mode: ``` $ nix-build --system armv5tel-linux -A libffi --check [...] checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu checking target system type... aarch64-unknown-linux-gnu [...] $ file result/lib/libffi.so.8.1.0 result/lib/libffi.so.8.1.0: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, not stripped $ nm result/lib/libffi.so.8.1.0 | grep ffi_call U ffi_call ``` Correct arch-specific code wouldn't be built at all, with the resulting binary subtly broken.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions