diff options
| author | Gaelan Steele <gbs@canishe.com> | 2020-05-13 09:22:11 -0700 |
|---|---|---|
| committer | Gaelan Steele <gbs@canishe.com> | 2020-05-14 09:26:09 -0700 |
| commit | b14d99777815df862a5aaccd4957bf06cecacfb4 (patch) | |
| tree | ff42636025fc852ab784e757e00c718235b06d9a /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | d38bad590e75fb792ffdf4d223c9294d8e508808 (diff) | |
nss: fix building for aarch32 on aarch64
There are two ways to build a package for aarch32 on an aarch64 machine:
either by cross compiling as normal, or by adding armv6l/armv7l to
extraPlatforms and doing a non-cross compile.
Previously, NSS failed to build with both methods: when using
extraPlatforms, things failed because NSS includes an armv8-specific
file (presumably based on the result of uname); when cross compiling,
NSS's build system expects to receive an architecture name of arm (not
armv6l or whatever), so was failing to include some arch-specific code
and failed with a linker error.
This commit fixes those things by a) always passing the arch, even when
not cross-compiling, and b) special-casing aarch32 to always pass in an
arch of arm.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
