mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
quickjs: fix mp_mul multiple definition
in function `mp_mul': apps/interpreters/quickjs/quickjs/libbf.c:1179: multiple definition of `mp_mul'; nuttx/staging/libapps.a:apps/math/libtommath/libtommath/bn_mp_mul.c:8: first defined here Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
f67097662f
commit
c7530f5e45
1 changed files with 3 additions and 0 deletions
|
|
@ -78,6 +78,9 @@ if(CONFIG_INTERPRETERS_QUICKJS)
|
|||
-include
|
||||
alloca.h)
|
||||
|
||||
list(APPEND QUICKJS_FLAGS -Dmp_add=qjs_mp_add -Dmp_sub=qjs_mp_sub
|
||||
-Dmp_mul=qjs_mp_mul)
|
||||
|
||||
list(APPEND QUICKJS_INCDIR ${QUICKJS_DIR})
|
||||
|
||||
list(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue