1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys/cpp_new_delete: always enable the module when C++ is used

This commit is contained in:
Benjamin Valentin 2024-02-07 11:40:23 +01:00
parent cc6eb465df
commit 453a8be4f3
3 changed files with 4 additions and 6 deletions

View File

@ -19,8 +19,3 @@ USEMODULE += tiny_strerror_as_strerror
ifneq (,$(filter cpp,$(FEATURES_USED)))
USEMODULE += cxx_ctor_guards
endif
# new and delete operators needed
ifneq (,$(filter cpp,$(FEATURES_USED)))
USEMODULE += cpp_new_delete
endif

View File

@ -41,6 +41,10 @@ ifneq (,$(filter crc32_fast,$(USEMODULE)))
USEMODULE += checksum
endif
ifneq (,$(filter cpp,$(USEMODULE)))
USEMODULE += cpp_new_delete
endif
ifneq (,$(filter debug_irq_disable,$(USEMODULE)))
USEMODULE += fmt
endif

View File

@ -1,4 +1,3 @@
USEMODULE += cpp_new_delete
USEMODULE += ztimer64_usec
USEMODULE += timex
FEATURES_REQUIRED += cpp