1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

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)
This commit is contained in:
david gauchard 2019-04-17 18:27:30 +02:00 committed by GitHub
parent b4e8b2f6e0
commit 2c36cfe04d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -145,7 +145,7 @@ FLAGS += -DLWIP_IPV6=0
FLAGS += -DHOST_MOCK=1
FLAGS += -DNONOSDK221=1
FLAGS += $(MKFLAGS)
CXXFLAGS += -std=c++11 $(FLAGS)
CXXFLAGS += -std=c++11 -fno-rtti $(FLAGS)
CFLAGS += -std=c99 $(FLAGS)
LDFLAGS += -coverage $(OPTZ) -g $(M32)
VALGRINDFLAGS += --leak-check=full --track-origins=yes --error-limit=no --show-leak-kinds=all --error-exitcode=999