add: crossystem (#2418)

This commit is contained in:
WeirdTreeThing
2024-10-28 11:16:12 -04:00
committed by GitHub
parent bc9496daf3
commit bbbd0a4d35
4 changed files with 86 additions and 0 deletions
@@ -0,0 +1,13 @@
diff --git a/Makefile b/Makefile
index 295b680..2e12cfa 100644
--- a/Makefile
+++ b/Makefile
@@ -125,7 +125,7 @@ endif
# Provide default CC and CFLAGS for firmware builds; if you have any -D flags,
# please add them after this point (e.g., -DVBOOT_DEBUG).
DEBUG_FLAGS := $(if $(filter-out 0,${DEBUG}),-g -Og,-g -Os)
-WERROR := -Werror
+WERROR := -Wno-error
FIRMWARE_FLAGS := -nostdinc -ffreestanding -fno-builtin -fno-stack-protector
COMMON_FLAGS := -pipe ${WERROR} -Wall -Wstrict-prototypes -Wtype-limits \
-Wundef -Wmissing-prototypes -Wno-trigraphs -Wredundant-decls -Wshadow \