summarylogtreecommitdiffstats
path: root/cmake.patch
blob: 3adbaa0a9de0fc5c5c84cf51b62326ab4b2fc179 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ruN aom/build/cmake/aom_configure.cmake patched/build/cmake/aom_configure.cmake
--- aom/build/cmake/aom_configure.cmake	        2021-04-23 19:56:11.023333334 +0200
+++ patched/build/cmake/aom_configure.cmake	2021-04-23 19:59:04.576666669 +0200
@@ -65,7 +65,7 @@
                     "      CMAKE_SYSTEM_PROCESSOR=${CMAKE_SYSTEM_PROCESSOR}\n"
                     "      CMAKE_GENERATOR=${CMAKE_GENERATOR}\n")
     endif()
-  elseif(cpu_lowercase STREQUAL "i386" OR cpu_lowercase STREQUAL "x86")
+  elseif(cpu_lowercase STREQUAL "i386" OR cpu_lowercase STREQUAL "i686" OR cpu_lowercase STREQUAL "x86")
     set(AOM_TARGET_CPU "x86")
   elseif(cpu_lowercase MATCHES "^arm" OR cpu_lowercase MATCHES "^mips")
     set(AOM_TARGET_CPU "${cpu_lowercase}")