quickjs: fix for XBPS_TARGET_NO_ATOMIC8.
This commit is contained in:
@@ -19,6 +19,11 @@ if [ "$CROSS_BUILD" ]; then
|
||||
make_install_args="${make_build_args}"
|
||||
fi
|
||||
|
||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
makedepends+=" libatomic-devel"
|
||||
export EXTRA_LIBS="-latomic"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
vsed -i -e '/HOST_CC/s/CFLAGS_OPT/BUILD_CFLAGS/' Makefile
|
||||
cat >>Makefile <<EOF
|
||||
|
||||
Reference in New Issue
Block a user