nushell: fix build on i686

This commit is contained in:
Butta 2021-07-15 17:29:54 +05:30
parent 5c00437a64
commit cf44d95417
1 changed files with 6 additions and 0 deletions

View File

@ -8,3 +8,9 @@ TERMUX_PKG_SHA256=9571c7fbf0f0fdabb055727b63b6a5c3561f04357336289106591fc6afcff7
TERMUX_PKG_DEPENDS="openssl, zlib"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_BLACKLISTED_ARCHES="x86_64"
termux_step_pre_configure() {
if [ $TERMUX_ARCH = "i686" ]; then
LDFLAGS+=" -latomic"
fi
}