Fixes T156 : spc module compiles on jessie
This commit is contained in:
parent
a6ee42bc44
commit
49f6976486
@ -37,6 +37,8 @@ if(EXISTS ${MITGZ})
|
||||
COMMAND tar xfvz ${MITGZ}
|
||||
COMMAND cp -v ${CMAKE_CURRENT_SOURCE_DIR}/linux/src_all/micx_drv/makefile.kernel26 ${CMAKE_CURRENT_SOURCE_DIR}/linux/src_all/micx_drv/Makefile
|
||||
COMMAND sed -i "s/Wno-deprecated-declarations/w/" ${CMAKE_CURRENT_SOURCE_DIR}/linux/src_all/micx_drv/Makefile
|
||||
# fails on jessie
|
||||
COMMAND sed -i "s/-Wno-error=date-time//g" ${CMAKE_CURRENT_SOURCE_DIR}/linux/src_all/micx_drv/Makefile
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
COMMENT "Unpacking Spectrum driver tarball"
|
||||
VERBATIM)
|
||||
|
Loading…
Reference in New Issue
Block a user