diff options
Diffstat (limited to 'third_party/aom/build/cmake/toolchains/mips64-linux-gcc.cmake')
-rw-r--r-- | third_party/aom/build/cmake/toolchains/mips64-linux-gcc.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/third_party/aom/build/cmake/toolchains/mips64-linux-gcc.cmake b/third_party/aom/build/cmake/toolchains/mips64-linux-gcc.cmake index fffb495bf..0b63d778d 100644 --- a/third_party/aom/build/cmake/toolchains/mips64-linux-gcc.cmake +++ b/third_party/aom/build/cmake/toolchains/mips64-linux-gcc.cmake @@ -43,6 +43,10 @@ set(CMAKE_CXX_COMPILER_ARG1 "-EL ${MIPS_CXXFLAGS}") set(CMAKE_SYSTEM_PROCESSOR "mips64") # No runtime cpu detect for mips64-linux-gcc. -set(CONFIG_RUNTIME_CPU_DETECT 0 CACHE NUMBER "") +if (CONFIG_RUNTIME_CPU_DETECT) + message("--- CONFIG_RUNTIME_CPU_DETECT not supported for mips64 targets.") +endif () + +set(CONFIG_RUNTIME_CPU_DETECT 0 CACHE NUMBER "" FORCE) endif () # AOM_BUILD_CMAKE_TOOLCHAINS_MIPS64_LINUX_GCC_CMAKE_ |