From c0263ab4c85d9b0f4b5d667a857a0ad509ce6a9b Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Tue, 24 Jan 2017 17:18:09 -0500 Subject: [PATCH] Don't leave ARCH unset for mips. CMake's language is a little dumb about string interpolation. Set it to "generic", which is the value OPENSSL_NO_ASM uses. Change-Id: Id98a0309e24465f10bcd7dab4a2000d1038edac0 Reviewed-on: https://boringssl-review.googlesource.com/13261 Reviewed-by: Kenny Root Reviewed-by: David Benjamin Commit-Queue: David Benjamin --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index fbee64a8..e15df7a5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -181,6 +181,7 @@ elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "aarch64") set(ARCH "aarch64") elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "mips") # Just to avoid the “unknown processor” error. + set(ARCH "generic") elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "ppc64le") set(ARCH "ppc64le") else()