Skip to content

Commit 535f4b3

Browse files
committed
mimxrt10xx: enable Werror
1 parent b9ecb0f commit 535f4b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/mimxrt10xx/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ else
9292
#CFLAGS += -flto -flto-partition=none
9393
endif
9494

95-
CFLAGS += $(INC) -ggdb -Wall -Wno-cast-align -std=gnu11 -nostdlib -fshort-enums $(BASE_CFLAGS) $(CFLAGS_MOD) $(COPT)
95+
CFLAGS += $(INC) -ggdb -Wall -Werror -std=gnu11 -nostdlib -fshort-enums $(BASE_CFLAGS) $(CFLAGS_MOD) $(COPT)
9696

9797
# TODO: add these when -Werror is applied
9898
# Disable some warnings, as do most ports. NXP SDK causes undef, tinyusb causes cast-align

0 commit comments

Comments
 (0)