Skip to content

Commit 06d16f4

Browse files
committed
qt: Workaroud Qt 5.15 android x86 build error
https://bugreports.qt.io/browse/QTBUG-86785
1 parent 1107bc3 commit 06d16f4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

qt-5.15.1.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,8 @@ superbuild_package(
255255
-android-sdk "${ANDROID_SDK_ROOT}"
256256
-android-arch "${ANDROID_ABI}"
257257
-android-ndk-platform "${ANDROID_PLATFORM}"
258+
$<$<STREQUAL:@ANDROID_ABI@,x86>:-no-avx -no-avx2 -no-avx512 -nosse4.1 -nosse4.2>
259+
$<$<STREQUAL:@ANDROID_ABI@,x86_64>:-no-avx -no-avx2 -no-avx512>
258260
>
259261
>
260262
-I "${CMAKE_STAGING_PREFIX}/include"

0 commit comments

Comments
 (0)