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.
This commit is contained in:
parent
266b6a1dd9
commit
68af5fd040
@ -213,7 +213,7 @@ ifeq ($(HASCPP17), 1)
|
||||
else
|
||||
CXXFLAGS += -std=c++11
|
||||
endif
|
||||
CXXFLAGS += $(filter-out -Wmissing-prototypes -Wold-style-definition -std=gnu99,$(CFLAGS) $(CXXFLAGS_MOD))
|
||||
CXXFLAGS += $(filter-out -Wmissing-prototypes -Wold-style-definition -std=gnu99 -std=gnu11,$(CFLAGS) $(CXXFLAGS_MOD))
|
||||
|
||||
ifeq ($(MICROPY_FORCE_32BIT),1)
|
||||
RUN_TESTS_MPY_CROSS_FLAGS = --mpy-cross-flags='-mcache-lookup-bc -march=x86'
|
||||
|
Loading…
Reference in New Issue
Block a user