diff options
Diffstat (limited to 'lib/stm32/f1/Makefile')
-rwxr-xr-x | lib/stm32/f1/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stm32/f1/Makefile b/lib/stm32/f1/Makefile index 651c9fd8..78ace5fb 100755 --- a/lib/stm32/f1/Makefile +++ b/lib/stm32/f1/Makefile @@ -24,14 +24,14 @@ PREFIX ?= arm-none-eabi CC = $(PREFIX)-gcc AR = $(PREFIX)-ar -CFLAGS = -Os \ +TGT_CFLAGS = -Os \ -Wall -Wextra -Wimplicit-function-declaration \ -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \ -Wundef -Wshadow \ -I../../../include -fno-common \ -mcpu=cortex-m3 $(FP_FLAGS) -mthumb -Wstrict-prototypes \ -ffunction-sections -fdata-sections -MD -DSTM32F1 -CFLAGS += $(DEBUG_FLAGS) +TGT_CFLAGS += $(DEBUG_FLAGS) # ARFLAGS = rcsv ARFLAGS = rcs |