summaryrefslogtreecommitdiff
path: root/lang/micropython/files/patch-ports_unix_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/micropython/files/patch-ports_unix_Makefile')
-rw-r--r--lang/micropython/files/patch-ports_unix_Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/micropython/files/patch-ports_unix_Makefile b/lang/micropython/files/patch-ports_unix_Makefile
new file mode 100644
index 000000000000..ce7f336dcb19
--- /dev/null
+++ b/lang/micropython/files/patch-ports_unix_Makefile
@@ -0,0 +1,13 @@
+* Avoid making warnings into errors
+
+--- ports/unix/Makefile.orig 2021-09-04 05:19:26 UTC
++++ ports/unix/Makefile
+@@ -38,7 +38,7 @@ INC += -I$(TOP)
+ 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 $(CFLAGS_MOD) $(COPT) -I$(VARIANT_DIR) $(CFLAGS_EXTRA)
+