Fix build types and achitectures
At Core Software Meeting 2021-02-17 we agreed to preserve the optimization levels for debug builds between old and new style CMake builds:
-
*-dbg
→-Og -g
-
*-do0
→-O0 -g
At the same time we agreed to use direct mappings between the architecture id in the platform string and the instructions sets the compiler should use, so it's OK to map x86_64
to -march=x86-64
(instead of -march=x86-64 -fsse4.2
), but we have to add a nehalem
platform to keep a sse4.2 build.