File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -61,17 +61,12 @@ endif
61
61
62
62
MICROPY_PY_ASYNC_AWAIT = 0
63
63
64
- # We don't have room for the fonts for terminalio for ja and ko
64
+ # We don't have room for the fonts for terminalio for certain languages,
65
65
# so turn off terminalio, and if it's off and displayio is on,
66
66
# force a clean build.
67
67
# Note that we cannot test $(CIRCUITPY_DISPLAYIO) directly with an
68
68
# ifeq, because it's not set yet.
69
- ifeq ($(TRANSLATION ) , ja)
70
- CIRCUITPY_TERMINALIO = 0
71
- RELEASE_NEEDS_CLEAN_BUILD = $(CIRCUITPY_DISPLAYIO )
72
- endif
73
-
74
- ifeq ($(TRANSLATION ) , ko)
69
+ ifneq (,$(filter $(TRANSLATION ) ,ja ko ru) )
75
70
CIRCUITPY_TERMINALIO = 0
76
71
RELEASE_NEEDS_CLEAN_BUILD = $(CIRCUITPY_DISPLAYIO )
77
72
endif
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ INC += -I$(BUILD)
37
37
38
38
# compiler settings
39
39
CWARN = -Wall -Werror
40
- CWARN += -Wextra -Wno-unused-parameter -Wpointer-arith -Wdouble-promotion -Wfloat-conversion
41
- CFLAGS += $(INC ) $(CWARN ) -std=gnu99 -DUNIX $(CFLAGS_MOD ) $(COPT ) -I$(VARIANT_DIR ) $(CFLAGS_EXTRA )
40
+ CWARN += -Wextra -Wno-unused-parameter -Wno-missing-field-initializers - Wpointer-arith -Wdouble-promotion -Wfloat-conversion
41
+ CFLAGS += $(INC ) $(CWARN ) -std=gnu11 -DUNIX $(CFLAGS_MOD ) $(COPT ) -I$(VARIANT_DIR ) $(CFLAGS_EXTRA )
42
42
43
43
# Debugging/Optimization
44
44
ifdef DEBUG
You can’t perform that action at this time.
0 commit comments