1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-04-20 09:09:02 +00:00

build(core/unix): use -g instead of -g3

Prevents flood of warnings on macos.

[no changelog]
This commit is contained in:
Martin Milata 2025-04-16 16:22:27 +02:00
parent c0eae1c47e
commit 04aeaf0607
2 changed files with 2 additions and 2 deletions

View File

@ -207,7 +207,7 @@ ALLPATHS = ['embed/rust',
env.Replace(
COPT=env.get('ENV').get('OPTIMIZE', '-Os'),
CCFLAGS='$COPT '
'-g3 '
'-g '
'-nostdlib '
'-std=gnu11 -Wall -Werror -Wpointer-arith -Wno-missing-braces -fno-common '
'-fdata-sections -ffunction-sections '

View File

@ -513,7 +513,7 @@ ALLPATHS=['.',
env.Replace(
CCFLAGS='$COPT '
'-g3 '
'-g '
'-std=gnu11 -Wall -Werror -Wuninitialized -Wno-missing-braces '
'-fdata-sections -ffunction-sections -fPIE ' + CCFLAGS_MOD,
CCFLAGS_QSTR='-DNO_QSTR -DN_X64 -DN_X86 -DN_THUMB',