Files
ports/lang/micropython/files/patch-ports_unix_Makefile
2026-10-04 04:07:15 +00:00

14 lines
412 B
Plaintext

* Avoid making warnings into errors
--- ports/unix/Makefile.orig 2026-04-06 13:12:49 UTC
+++ ports/unix/Makefile
@@ -47,7 +47,7 @@ INC += -I$(BUILD)
INC += -I$(BUILD)
# compiler settings
-CWARN = -Wall -Werror
+CWARN = -Wall
CWARN += -Wextra -Wno-unused-parameter -Wpointer-arith -Wdouble-promotion -Wfloat-conversion
CFLAGS += $(INC) $(CWARN) -std=gnu99 -DUNIX $(COPT) -I$(VARIANT_DIR) $(CFLAGS_EXTRA)