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: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
parent
5f3e3fe655
commit
427b107dac
1 changed files with 1 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ CSRCS = quickjs.c libregexp.c libbf.c libunicode.c cutils.c
|
|||
|
||||
VERSION=\"$(QUICKJS_VERSION)\"
|
||||
|
||||
CFLAGS += -Dmp_add=qjs_mp_add -Dmp_sub=qjs_mp_sub -Dmp_mul=qjs_mp_mul
|
||||
CFLAGS += -DCONFIG_VERSION=$(VERSION) -Wno-shadow
|
||||
CFLAGS += -Wno-array-bounds -I$(QUICKJS_UNPACK)
|
||||
CFLAGS += -D__linux__ -include alloca.h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue