arch/sim: add toolchain library libm

Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
Jiuzhu Dong 2021-11-11 13:47:08 +08:00 committed by Xiang Xiao
parent 2fe8f37001
commit 17f410e647
1 changed files with 4 additions and 0 deletions

View File

@ -108,6 +108,10 @@ else
STDLIBS += -lrt
endif
ifneq ($(CONFIG_LIBM),y)
STDLIBS += -lm
endif
ifeq ($(CONFIG_STACK_COLORATION),y)
CSRCS += sim_checkstack.c
endif