build: Change default build from -O2 -g to -Os -g

This commit is contained in:
Gabriel Ferreira
2024-02-27 15:34:27 +01:00
parent b921650795
commit 9b62087072
3 changed files with 8 additions and 5 deletions

View File

@@ -795,7 +795,7 @@ The build profile controls the use of logging, assertions, and compiler optimiza
| Wrapper | | | | |
| Macro | | | | |
+----------+---------------------------------+-----------------------------+-------------------------------+---------------------------------+
| Compiler | ``-Og -g`` | ``-O2 -g`` | ``-O3`` | ``-O3`` |
| Compiler | ``-Og -g`` | ``-Os -g`` | ``-O3`` | ``-O3`` |
| Flags | | | | ``-march=native`` |
| | | | | ``-mtune=native`` |
+----------+---------------------------------+-----------------------------+-------------------------------+---------------------------------+