mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 08:22:56 +02:00
quickjs: fix for XBPS_TARGET_NO_ATOMIC8.
This commit is contained in:
parent
53dc3fca09
commit
8dbeddd237
1 changed files with 5 additions and 0 deletions
|
@ -19,6 +19,11 @@ if [ "$CROSS_BUILD" ]; then
|
||||||
make_install_args="${make_build_args}"
|
make_install_args="${make_build_args}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
|
makedepends+=" libatomic-devel"
|
||||||
|
export EXTRA_LIBS="-latomic"
|
||||||
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
vsed -i -e '/HOST_CC/s/CFLAGS_OPT/BUILD_CFLAGS/' Makefile
|
vsed -i -e '/HOST_CC/s/CFLAGS_OPT/BUILD_CFLAGS/' Makefile
|
||||||
cat >>Makefile <<EOF
|
cat >>Makefile <<EOF
|
||||||
|
|
Loading…
Add table
Reference in a new issue