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

cpu/native/periph_timer: add missing -lrt to linker flags

This fixes https://github.com/RIOT-OS/RIOT/pull/20009#issuecomment-2294803168
This commit is contained in:
Marian Buschsieweke 2024-08-17 13:52:48 +02:00
parent 4c55f92b1b
commit 29a00beaf1
No known key found for this signature in database
GPG Key ID: 77AA882EC78084E6

View File

@ -7,6 +7,11 @@ ifneq (,$(filter periph_can,$(USEMODULE)))
endif
endif
ifneq (,$(filter periph_timer,$(USEMODULE)))
# using timer_settime requires -lrt
LINKFLAGS += -lrt
endif
TOOLCHAINS_SUPPORTED = gnu llvm afl
# Platform triple as used by Rust