diff --git a/lib/stm32/f7/Makefile b/lib/stm32/f7/Makefile index 3c894045..3eafd2f7 100644 --- a/lib/stm32/f7/Makefile +++ b/lib/stm32/f7/Makefile @@ -29,7 +29,7 @@ AR = $(PREFIX)-ar # STM32F7 only supports single precision FPU FP_FLAGS ?= -mfloat-abi=hard -mfpu=fpv5-sp-d16 -CFLAGS = -Os -g \ +TGT_CFLAGS = -Os -g \ -Wall -Wextra -Wimplicit-function-declaration \ -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \ -Wundef -Wshadow \