all: use -opt flag for optimization level in CFlags (-Os, etc)

This brings some consistency to the CFlags and fixes the issue that on
some platforms (Linux, MacOS), no optimization level was set and
therefore C files in packages were not optimized at all.
This commit is contained in:
Ayke van Laethem
2021-09-17 01:43:14 +02:00
committed by Ron Evans
parent 32899d1cc3
commit 6234bf9a88
7 changed files with 4 additions and 8 deletions
-1
View File
@@ -10,7 +10,6 @@
"automatic-stack-size": true,
"default-stack-size": 2048,
"cflags": [
"-Oz",
"-mthumb",
"-Werror",
"-fshort-enums",