Skip to content

Commit c2fd859

Browse files
authored
EFL: Disable Arch Optimization for ARM (32-bit)
1 parent fb3b695 commit c2fd859

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tur-on-device/efl/build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ lib/python3.12/__pycache__/tarfile.cpython-312.pyc
1515
"
1616

1717
termux_step_pre_configure() {
18+
19+
if [[ "$TERMUX_ARCH" = arm ]] ; then
20+
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" -Dnative-arch-optimization=false"
21+
fi
22+
1823
if [ "${TERMUX_ON_DEVICE_BUILD}" = false ]; then
1924
termux_error_exit "This package doesn't support cross-compiling."
2025
fi

0 commit comments

Comments
 (0)