mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-06-28 02:42:34 +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(
|
env.Replace(
|
||||||
COPT=env.get('ENV').get('OPTIMIZE', '-Os'),
|
COPT=env.get('ENV').get('OPTIMIZE', '-Os'),
|
||||||
CCFLAGS='$COPT '
|
CCFLAGS='$COPT '
|
||||||
'-g3 '
|
'-g '
|
||||||
'-nostdlib '
|
'-nostdlib '
|
||||||
'-std=gnu11 -Wall -Werror -Wpointer-arith -Wno-missing-braces -fno-common '
|
'-std=gnu11 -Wall -Werror -Wpointer-arith -Wno-missing-braces -fno-common '
|
||||||
'-fdata-sections -ffunction-sections '
|
'-fdata-sections -ffunction-sections '
|
||||||
|
@ -513,7 +513,7 @@ ALLPATHS=['.',
|
|||||||
|
|
||||||
env.Replace(
|
env.Replace(
|
||||||
CCFLAGS='$COPT '
|
CCFLAGS='$COPT '
|
||||||
'-g3 '
|
'-g '
|
||||||
'-std=gnu11 -Wall -Werror -Wuninitialized -Wno-missing-braces '
|
'-std=gnu11 -Wall -Werror -Wuninitialized -Wno-missing-braces '
|
||||||
'-fdata-sections -ffunction-sections -fPIE ' + CCFLAGS_MOD,
|
'-fdata-sections -ffunction-sections -fPIE ' + CCFLAGS_MOD,
|
||||||
CCFLAGS_QSTR='-DNO_QSTR -DN_X64 -DN_X86 -DN_THUMB',
|
CCFLAGS_QSTR='-DNO_QSTR -DN_X64 -DN_X86 -DN_THUMB',
|
||||||
|
Loading…
Reference in New Issue
Block a user