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:
parent
c0eae1c47e
commit
04aeaf0607
@ -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 '
|
||||
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user