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:
parent
91998edf80
commit
ff0b97961b
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user