STM32WB: lower gdb level and enable linker optimizations

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14740 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
akscram 2021-09-05 20:31:02 +00:00
parent 9cad986832
commit 12315741d4
8 changed files with 24 additions and 24 deletions

View File

@ -5,7 +5,7 @@
# Compiler options here.
ifeq ($(USE_OPT),)
USE_OPT = -O0 -ggdb3 -fomit-frame-pointer -falign-functions=16 -fvar-tracking -fvar-tracking-assignments
USE_OPT = -O0 -ggdb -fomit-frame-pointer -falign-functions=16 -fvar-tracking -fvar-tracking-assignments
endif
# C specific options here (added to USE_OPT).
@ -20,7 +20,7 @@ endif
# Enable this if you want the linker to remove unused code and data.
ifeq ($(USE_LINK_GC),)
USE_LINK_GC = no
USE_LINK_GC = yes
endif
# Linker extra options here.
@ -30,7 +30,7 @@ endif
# Enable this if you want link time optimizations (LTO).
ifeq ($(USE_LTO),)
USE_LTO = no
USE_LTO = yes
endif
# Enable this if you want to see the full log while compiling.

View File

@ -5,7 +5,7 @@
# Compiler options here.
ifeq ($(USE_OPT),)
USE_OPT = -O0 -ggdb3 -fomit-frame-pointer -falign-functions=16 -fvar-tracking -fvar-tracking-assignments
USE_OPT = -O0 -ggdb -fomit-frame-pointer -falign-functions=16 -fvar-tracking -fvar-tracking-assignments
endif
# C specific options here (added to USE_OPT).
@ -20,7 +20,7 @@ endif
# Enable this if you want the linker to remove unused code and data.
ifeq ($(USE_LINK_GC),)
USE_LINK_GC = no
USE_LINK_GC = yes
endif
# Linker extra options here.
@ -30,7 +30,7 @@ endif
# Enable this if you want link time optimizations (LTO).
ifeq ($(USE_LTO),)
USE_LTO = no
USE_LTO = yes
endif
# Enable this if you want to see the full log while compiling.

View File

@ -5,7 +5,7 @@
# Compiler options here.
ifeq ($(USE_OPT),)
USE_OPT = -O0 -ggdb3 -fomit-frame-pointer -falign-functions=16 -fvar-tracking -fvar-tracking-assignments
USE_OPT = -O0 -ggdb -fomit-frame-pointer -falign-functions=16 -fvar-tracking -fvar-tracking-assignments
endif
# C specific options here (added to USE_OPT).
@ -20,7 +20,7 @@ endif
# Enable this if you want the linker to remove unused code and data.
ifeq ($(USE_LINK_GC),)
USE_LINK_GC = no
USE_LINK_GC = yes
endif
# Linker extra options here.
@ -30,7 +30,7 @@ endif
# Enable this if you want link time optimizations (LTO).
ifeq ($(USE_LTO),)
USE_LTO = no
USE_LTO = yes
endif
# Enable this if you want to see the full log while compiling.

View File

@ -5,7 +5,7 @@
# Compiler options here.
ifeq ($(USE_OPT),)
USE_OPT = -O0 -ggdb3 -fomit-frame-pointer -falign-functions=16 -fvar-tracking -fvar-tracking-assignments
USE_OPT = -O0 -ggdb -fomit-frame-pointer -falign-functions=16 -fvar-tracking -fvar-tracking-assignments
endif
# C specific options here (added to USE_OPT).
@ -20,7 +20,7 @@ endif
# Enable this if you want the linker to remove unused code and data.
ifeq ($(USE_LINK_GC),)
USE_LINK_GC = no
USE_LINK_GC = yes
endif
# Linker extra options here.
@ -30,7 +30,7 @@ endif
# Enable this if you want link time optimizations (LTO).
ifeq ($(USE_LTO),)
USE_LTO = no
USE_LTO = yes
endif
# Enable this if you want to see the full log while compiling.

View File

@ -5,7 +5,7 @@
# Compiler options here.
ifeq ($(USE_OPT),)
USE_OPT = -O0 -ggdb3 -fomit-frame-pointer -falign-functions=16 -fvar-tracking -fvar-tracking-assignments
USE_OPT = -O0 -ggdb -fomit-frame-pointer -falign-functions=16 -fvar-tracking -fvar-tracking-assignments
endif
# C specific options here (added to USE_OPT).
@ -20,7 +20,7 @@ endif
# Enable this if you want the linker to remove unused code and data.
ifeq ($(USE_LINK_GC),)
USE_LINK_GC = no
USE_LINK_GC = yes
endif
# Linker extra options here.
@ -30,7 +30,7 @@ endif
# Enable this if you want link time optimizations (LTO).
ifeq ($(USE_LTO),)
USE_LTO = no
USE_LTO = yes
endif
# Enable this if you want to see the full log while compiling.

View File

@ -5,7 +5,7 @@
# Compiler options here.
ifeq ($(USE_OPT),)
USE_OPT = -O0 -ggdb3 -fomit-frame-pointer -falign-functions=16 -fvar-tracking -fvar-tracking-assignments
USE_OPT = -O0 -ggdb -fomit-frame-pointer -falign-functions=16 -fvar-tracking -fvar-tracking-assignments
endif
# C specific options here (added to USE_OPT).
@ -20,7 +20,7 @@ endif
# Enable this if you want the linker to remove unused code and data.
ifeq ($(USE_LINK_GC),)
USE_LINK_GC = no
USE_LINK_GC = yes
endif
# Linker extra options here.
@ -30,7 +30,7 @@ endif
# Enable this if you want link time optimizations (LTO).
ifeq ($(USE_LTO),)
USE_LTO = no
USE_LTO = yes
endif
# Enable this if you want to see the full log while compiling.

View File

@ -5,7 +5,7 @@
# Compiler options here.
ifeq ($(USE_OPT),)
USE_OPT = -O0 -ggdb3 -fomit-frame-pointer -falign-functions=16 -fvar-tracking -fvar-tracking-assignments
USE_OPT = -O0 -ggdb -fomit-frame-pointer -falign-functions=16 -fvar-tracking -fvar-tracking-assignments
endif
# C specific options here (added to USE_OPT).
@ -20,7 +20,7 @@ endif
# Enable this if you want the linker to remove unused code and data.
ifeq ($(USE_LINK_GC),)
USE_LINK_GC = no
USE_LINK_GC = yes
endif
# Linker extra options here.
@ -30,7 +30,7 @@ endif
# Enable this if you want link time optimizations (LTO).
ifeq ($(USE_LTO),)
USE_LTO = no
USE_LTO = yes
endif
# Enable this if you want to see the full log while compiling.

View File

@ -5,7 +5,7 @@
# Compiler options here.
ifeq ($(USE_OPT),)
USE_OPT = -O0 -ggdb3 -fomit-frame-pointer -falign-functions=16 -fvar-tracking -fvar-tracking-assignments
USE_OPT = -O0 -ggdb -fomit-frame-pointer -falign-functions=16 -fvar-tracking -fvar-tracking-assignments
endif
# C specific options here (added to USE_OPT).
@ -20,7 +20,7 @@ endif
# Enable this if you want the linker to remove unused code and data.
ifeq ($(USE_LINK_GC),)
USE_LINK_GC = no
USE_LINK_GC = yes
endif
# Linker extra options here.
@ -30,7 +30,7 @@ endif
# Enable this if you want link time optimizations (LTO).
ifeq ($(USE_LTO),)
USE_LTO = no
USE_LTO = yes
endif
# Enable this if you want to see the full log while compiling.