Update toolchain (#261)
This commit is contained in:
parent
4ccec07f40
commit
f00557dc35
|
@ -17,12 +17,15 @@ foreach(tool gcc ld ar)
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
CMAKE_FORCE_C_COMPILER(@CROSSDEV@gcc GNU)
|
set(CMAKE_C_COMPILER @CROSSDEV@gcc)
|
||||||
CMAKE_FORCE_CXX_COMPILER(@CROSSDEV@g++ GNU)
|
set(CMAKE_CXX_COMPILER @CROSSDEV@g++)
|
||||||
|
|
||||||
|
SET(CMAKE_C_COMPILER_WORKS 1 CACHE INTERNAL "")
|
||||||
|
SET(CMAKE_CXX_COMPILER_WORKS 1 CACHE INTERNAL "")
|
||||||
|
|
||||||
include_directories(SYSTEM ${CMAKE_SYSROOT}/include)
|
include_directories(SYSTEM ${CMAKE_SYSROOT}/include)
|
||||||
add_compile_options(
|
add_compile_options(
|
||||||
-std=c99
|
-std=c99
|
||||||
@ARCH_CPU_FLAGS@
|
@ARCH_CPU_FLAGS@
|
||||||
@ARCH_OPT_FLAGS@
|
@ARCH_OPT_FLAGS@
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue