summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorAudrey Dutcher <audrey@rhelmot.io>2025-02-22 19:29:33 -0700
committerAudrey Dutcher <audrey@rhelmot.io>2025-03-18 23:31:45 -0700
commitb759eafff641d50d5275da39c7962771ecdbebca (patch)
tree9a33761da4cd1ea62f815192ffe1d65505762f1e /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent2443e179dac471e66f4b70fc385f400b3c25d2b0 (diff)
nodejs: fix cross compilation for non-emulatable platforms
This was tested x86_64-linux -> x86_64-freebsd. It works by injecting the tools that would otherwise be run at build time for the same executables extracted from a native build. Without this, there are multiple issues: a) It will fail to start building since there are naming conflicts between the "host" (build system) and "normal" (host system) object files. This is resolved with a patch from buildroot. b) It will then still fail to build since it will still try to build the "host" objects, with a host compiler, but it will use the configuration flags for the "target" OS. This is resolved by importing the executables that would otherwise be run on the build system from the intermediate stage of a native build, saved in a new "dev" output. We also fake the "host" compiler as a tool which simply touches its outputs. c) Finally, there is a clang bug which causes a static assert that something is trivially copyable to fire as a false positive. We remove this check with a patch from rubyjs.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions