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:
parent
4c55f92b1b
commit
29a00beaf1
@ -7,6 +7,11 @@ ifneq (,$(filter periph_can,$(USEMODULE)))
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter periph_timer,$(USEMODULE)))
|
||||||
|
# using timer_settime requires -lrt
|
||||||
|
LINKFLAGS += -lrt
|
||||||
|
endif
|
||||||
|
|
||||||
TOOLCHAINS_SUPPORTED = gnu llvm afl
|
TOOLCHAINS_SUPPORTED = gnu llvm afl
|
||||||
|
|
||||||
# Platform triple as used by Rust
|
# Platform triple as used by Rust
|
||||||
|
Loading…
Reference in New Issue
Block a user