mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-07 05:18:34 +00:00
[chore][camke] add -fno-jump-tables c compile flag
This commit is contained in:
parent
4e9f1c1149
commit
28de956075
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
list(APPEND GLOBAL_C_FLAGS -Os -g3)
|
list(APPEND GLOBAL_C_FLAGS -Os -g3)
|
||||||
list(APPEND GLOBAL_C_FLAGS -fshort-enums -fno-common -fms-extensions -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -ffast-math)
|
list(APPEND GLOBAL_C_FLAGS -fno-jump-tables -fshort-enums -fno-common -fms-extensions -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -ffast-math)
|
||||||
list(APPEND GLOBAL_C_FLAGS -Wall -Wshift-negative-value -Wchar-subscripts -Wformat -Wuninitialized -Winit-self -Wignored-qualifiers -Wunused -Wundef)
|
list(APPEND GLOBAL_C_FLAGS -Wall -Wshift-negative-value -Wchar-subscripts -Wformat -Wuninitialized -Winit-self -Wignored-qualifiers -Wunused -Wundef)
|
||||||
list(APPEND GLOBAL_C_FLAGS -msmall-data-limit=4)
|
list(APPEND GLOBAL_C_FLAGS -msmall-data-limit=4)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue