Skip to content

Commit 68af5fd

Browse files
committed
unix: Filter out -std=gnu11
On Debian Bullseye, it is an error to include this flag when building a C++ file, which caused the unix coverage build to fail.
1 parent 266b6a1 commit 68af5fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/unix/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ ifeq ($(HASCPP17), 1)
213213
else
214214
CXXFLAGS += -std=c++11
215215
endif
216-
CXXFLAGS += $(filter-out -Wmissing-prototypes -Wold-style-definition -std=gnu99,$(CFLAGS) $(CXXFLAGS_MOD))
216+
CXXFLAGS += $(filter-out -Wmissing-prototypes -Wold-style-definition -std=gnu99 -std=gnu11,$(CFLAGS) $(CXXFLAGS_MOD))
217217

218218
ifeq ($(MICROPY_FORCE_32BIT),1)
219219
RUN_TESTS_MPY_CROSS_FLAGS = --mpy-cross-flags='-mcache-lookup-bc -march=x86'

0 commit comments

Comments
 (0)