Commit 98e97e1e authored by Simon Morlat's avatar Simon Morlat

Fix issue with VP8 compilation on raspberry pi

parent cd8badac
......@@ -145,6 +145,7 @@ else()
)
list(REMOVE_ITEM EP_vpx_CONFIGURE_OPTIONS "--enable-multithread")
else()
lcb_use_c_compiler_for_assembler(NO)
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "armv7l")
set(VPX_TARGET "armv7-linux-gcc")
else()
......
......@@ -22,6 +22,10 @@
if("@CMAKE_C_COMPILER_ID@" STREQUAL "GNU")
string(REGEX REPLACE "gcc$" "as" AS_COMPILER "@CMAKE_C_COMPILER@")
if (AS_COMPILER STREQUAL "@CMAKE_C_COMPILER@")
#fallback for the case where gcc is found as /usr/bin/cc
string(REGEX REPLACE "cc$" "as" AS_COMPILER "@CMAKE_C_COMPILER@")
endif()
set(AUTOTOOLS_AS_COMPILER ${AS_COMPILER} CACHE PATH "Initial cache" FORCE)
endif()
set(C_LAUNCHER "")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment