Added -fshort-enum to CFLAGS.

This commit is contained in:
Dual Tachyon 2023-08-26 01:42:05 +01:00
parent f6159b16ab
commit e50b6649cd

View File

@ -63,7 +63,7 @@ OBJCOPY = arm-none-eabi-objcopy
SIZE = arm-none-eabi-size
ASFLAGS = -mcpu=cortex-m0
CFLAGS = -O2 -Wall -Werror -mcpu=cortex-m0 -fno-builtin -std=c11 -MMD
CFLAGS = -O2 -Wall -Werror -mcpu=cortex-m0 -fno-builtin -fshort-enums -std=c11 -MMD
CFLAGS += -DPRINTF_INCLUDE_CONFIG_H
LDFLAGS = -mcpu=cortex-m0 -nostartfiles -Wl,-T,firmware.ld