libgcrypt: Disable asm also for x86_64
[termux-packages] / packages / libgcrypt / build.sh
index 822a160..6778a98 100755 (executable)
@@ -14,7 +14,7 @@ termux_step_pre_configure () {
                 # Avoid text relocations:
                 TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" gcry_cv_gcc_inline_asm_neon=no"
        fi
-       if [ $TERMUX_ARCH = "i686" ]; then
+       if [ $TERMUX_ARCH = "i686" -o $TERMUX_ARCH = "x86_64" ]; then
                # Fix i686 android build, also in https://bugzilla.gnome.org/show_bug.cgi?id=724050
                TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --disable-asm"
        fi