summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2022-12-08 19:57:17 -0800
committersternenseemann <sternenseemann@systemli.org>2023-01-10 14:05:03 +0100
commitdfa3f1449343738c8a5c261cc0770bd74a2cfdb5 (patch)
treed8fda9fc42d1a56bf16526ab857a7de3b5d613a8 /pkgs/development/python-modules/python-mapnik
parentad92b19e362ce0be181c616e8c528e571c38926d (diff)
cc-wrapper: -march= is not allowed on powerpc
Gcc does not allow `-march=` on PowerPC: https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/RS_002f6000-and-PowerPC-Options.html#RS_002f6000-and-PowerPC-Options Instead, `-mcpu=` should be used to set the minimum instruction set and `-mtune=` is used to optimize instruction scheduling for a specific processor. Both flags take the same set of valid values, which includes `native`. This commit causes `isGccArchSupported` to return `false` for PowerPC targets so we never pass an `-march=` flag, since that will always be rejected by gcc.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik')
0 files changed, 0 insertions, 0 deletions