Skip to content

Commit 3f6713a

Browse files
committed
Fix unix build by using safe mode stub
1 parent d6b2199 commit 3f6713a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ports/unix/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ SRC_C = \
150150
coverage.c \
151151
fatfs_port.c \
152152
supervisor/stub/filesystem.c \
153+
supervisor/stub/safe_mode.c \
153154
supervisor/stub/serial.c \
154155
supervisor/stub/stack.c \
155156
supervisor/shared/translate.c \
@@ -256,7 +257,7 @@ coverage:
256257
$(MAKE) \
257258
COPT="-O0" CFLAGS_EXTRA='$(CFLAGS_EXTRA) -DMP_CONFIGFILE="<mpconfigport_coverage.h>" \
258259
-fprofile-arcs -ftest-coverage \
259-
-Wdouble-promotion -Wformat -Wmissing-declarations -Wmissing-prototypes -Wsign-compare \
260+
-Wformat -Wmissing-declarations -Wmissing-prototypes -Wsign-compare \
260261
-Wold-style-definition -Wpointer-arith -Wshadow -Wuninitialized -Wunused-parameter \
261262
-DMICROPY_UNIX_COVERAGE' \
262263
LDFLAGS_EXTRA='-fprofile-arcs -ftest-coverage' \

0 commit comments

Comments
 (0)