1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

pkg/tinydtls: drop libc_gettimeofday

This commit is contained in:
Benjamin Valentin 2023-02-05 23:21:13 +01:00 committed by Benjamin Valentin
parent 91998edf80
commit ff0b97961b
2 changed files with 0 additions and 11 deletions

View File

@ -6,9 +6,6 @@ PKG_LICENSE=EPL-1.0,EDL-1.0
include $(RIOTBASE)/pkg/pkg.mk
CFLAGS += -Wno-implicit-fallthrough
# following is require due to known issue with newlib 2.4.x, see bug report:
# http://lists-archives.com/cygwin/97008-gettimeofday-not-defined.html
CFLAGS += -D_XOPEN_SOURCE=600
all:
$(QQ)"$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(PKG_SOURCE_DIR)/Makefile.riot

View File

@ -14,11 +14,3 @@ ifneq (,$(filter sock_dtls,$(USEMODULE)))
USEMODULE += tinydtls_sock_dtls
USEMODULE += ztimer_usec
endif
ifneq (,$(filter newlib_syscalls_default,$(USEMODULE)))
USEMODULE += libc_gettimeofday
endif
ifneq (,$(filter native,$(CPU)))
USEMODULE += libc_gettimeofday
endif