HAL_ChibiOS: pass optimization to ChibiOS build

This commit is contained in:
Andrew Tridgell 2019-02-14 23:07:34 +11:00
parent 3c9646dfef
commit b07ba37359

View File

@ -5,12 +5,12 @@
# Compiler options here. # Compiler options here.
ifeq ($(USE_OPT),) ifeq ($(USE_OPT),)
USE_OPT = -Os -g -fomit-frame-pointer -falign-functions=16 USE_OPT = -g -fomit-frame-pointer -falign-functions=16
endif endif
# C specific options here (added to USE_OPT). # C specific options here (added to USE_OPT).
ifeq ($(USE_COPT),) ifeq ($(USE_COPT),)
USE_COPT = USE_COPT = -Os
endif endif
# C++ specific options here (added to USE_OPT). # C++ specific options here (added to USE_OPT).