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:
parent
cc6eb465df
commit
453a8be4f3
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,3 @@
|
||||
USEMODULE += cpp_new_delete
|
||||
USEMODULE += ztimer64_usec
|
||||
USEMODULE += timex
|
||||
FEATURES_REQUIRED += cpp
|
||||
|
Loading…
Reference in New Issue
Block a user