compileopts: automatically add -g flag when including debug symbols

Debug information is often useful and there is no reason to include it
for Go code but not for C code. Also, disabling debug information should
disable it entirely, not just for Go code.
This commit is contained in:
Ayke van Laethem
2020-07-09 17:08:19 +02:00
committed by Ron Evans
parent 04d097f4ea
commit 39433a3553
2 changed files with 3 additions and 1 deletions
-1
View File
@@ -9,7 +9,6 @@
"rtlib": "compiler-rt",
"libc": "picolibc",
"cflags": [
"-g",
"--target=arm4-none-eabi",
"-mcpu=arm7tdmi",
"-Oz",