update QuickJS (#5659)

* update QuickJS

* Create Makefile.patch
This commit is contained in:
Arun 2020-08-07 15:04:54 +05:30 committed by GitHub
parent a4d83af9d0
commit 0d8c85543e
2 changed files with 15 additions and 4 deletions

View File

@ -0,0 +1,12 @@
diff -uNr quickjs-2020-07-05/Makefile quickjs-2020-07-05.mod/Makefile
--- quickjs-2020-07-05/Makefile 2020-07-05 12:03:51.000000000 +0200
+++ quickjs-2020-07-05.mod/Makefile 2020-08-07 10:17:00.109022444 +0200
@@ -173,7 +173,7 @@
HOST_LIBS=-lm -ldl -lpthread
LIBS=-lm
ifndef CONFIG_WIN32
-LIBS+=-ldl -lpthread
+LIBS+=-ldl
endif
$(OBJDIR):

View File

@ -2,11 +2,10 @@ TERMUX_PKG_HOMEPAGE=https://bellard.org/quickjs/
TERMUX_PKG_DESCRIPTION="QuickJS is a small and embeddable Javascript engine" TERMUX_PKG_DESCRIPTION="QuickJS is a small and embeddable Javascript engine"
TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_LICENSE="MIT"
_YEAR=2020 _YEAR=2020
_MONTH=04 _MONTH=07
_DAY=12 _DAY=05
TERMUX_PKG_VERSION=1:${_YEAR}${_MONTH}${_DAY} TERMUX_PKG_VERSION=1:${_YEAR}${_MONTH}${_DAY}
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://bellard.org/quickjs/quickjs-${_YEAR}-${_MONTH}-${_DAY}.tar.xz TERMUX_PKG_SRCURL=https://bellard.org/quickjs/quickjs-${_YEAR}-${_MONTH}-${_DAY}.tar.xz
TERMUX_PKG_SHA256=22b15f2cc910289821379dc8d314d35ef492f6d69d4419c9bcb1b2263e9d71c8 TERMUX_PKG_SHA256=63e9f77a4283cede6b37b75dbbe85cb57edc7dd646367650ac2901d9ef268a99
TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_MAKE_ARGS="CROSS_PREFIX=${TERMUX_HOST_PLATFORM}- CONFIG_CLANG=y CONFIG_DEFAULT_AR=y -W run-test262 -W run-test262-bn prefix=$TERMUX_PREFIX" TERMUX_PKG_EXTRA_MAKE_ARGS="CROSS_PREFIX=${TERMUX_HOST_PLATFORM}- CONFIG_CLANG=y CONFIG_DEFAULT_AR=y -W run-test262 -W run-test262-bn prefix=$TERMUX_PREFIX"