Skip to content

Commit 2c36cfe

Browse files
authored
mock on host: compile without rtti (no dynamic_cast<>(), like on native) (#5994)
* mock on host: compile without rtti (no dynamic_cast<>(), like on native)
1 parent b4e8b2f commit 2c36cfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/host/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ FLAGS += -DLWIP_IPV6=0
145145
FLAGS += -DHOST_MOCK=1
146146
FLAGS += -DNONOSDK221=1
147147
FLAGS += $(MKFLAGS)
148-
CXXFLAGS += -std=c++11 $(FLAGS)
148+
CXXFLAGS += -std=c++11 -fno-rtti $(FLAGS)
149149
CFLAGS += -std=c99 $(FLAGS)
150150
LDFLAGS += -coverage $(OPTZ) -g $(M32)
151151
VALGRINDFLAGS += --leak-check=full --track-origins=yes --error-limit=no --show-leak-kinds=all --error-exitcode=999

0 commit comments

Comments
 (0)