Skip to content
Snippets Groups Projects
Commit 14bafc6d authored by Clayton Craft's avatar Clayton Craft :man_dancing_tone3: Committed by Bart Ribbers
Browse files

community/kyotocabinet: disable project's build-time compiler optimizations

This project uses -march=native by default, which causes problems when
the package is built on a system with a newer ISA than the target CPUs.
--disable-opt causes it to use the default -march in gcc, which should
be something safe (right?)

In this particular case, it fixes an issue where the swpa instruction
was being included by gcc, causing a SIGILL on CPUs (like the cortex
A53) where this instruction is *not* supported. See:
https://github.com/rinigus/osmscout-server/issues/345
parent 072a5c82
No related branches found
No related tags found
1 merge request!33353community/kyotocabinet: disable project's build-time compiler optimizations
Pipeline #119168 canceled
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment