summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2021-11-30 23:06:44 +0100
committersternenseemann <sternenseemann@systemli.org>2021-11-30 23:06:44 +0100
commitc23e14e33f207dd38b6cc50401493d640a4745db (patch)
treed59aa6b956b485847b3d133b884509b17478484b /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent19fc2292942cfcb7c07dade739989a64545d812f (diff)
haskell.compiler.*: assert that host->target == build->target tools
CC, CXX, LD, AR, …, LLC, OPT and CLANG will be invoked by GHC's build system at build time in the build->target role. However, since we are passing absolute paths, they will get saved in GHC's settings file and later invoked at runtime, when they should be host->target. This means that the build->target and host->target tools need to be the same for our built GHC to work properly which is what we guard using these new asserts. Being able to drop these asserts would be a step towards cross-compiling GHC (as opposed to building a GHC cross-compiler which still works).
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions