Fix Cross-Compilation Toolchain (Again)
This commit is contained in:
parent
55475a3a0c
commit
0a65c91d14
@ -30,6 +30,7 @@ macro(setup_toolchain target)
|
|||||||
"-isystem /usr/lib/gcc-cross/${target}/${GCC_VERSION}/include "
|
"-isystem /usr/lib/gcc-cross/${target}/${GCC_VERSION}/include "
|
||||||
"-isystem /usr/lib/gcc-cross/${target}/${GCC_VERSION}/include-fixed "
|
"-isystem /usr/lib/gcc-cross/${target}/${GCC_VERSION}/include-fixed "
|
||||||
"-isystem /usr/${target}/include "
|
"-isystem /usr/${target}/include "
|
||||||
|
"-isystem /usr/include"
|
||||||
)
|
)
|
||||||
set(CMAKE_C_FLAGS_INIT "${CMAKE_C_FLAGS_INIT} ${NEW_FLAGS}")
|
set(CMAKE_C_FLAGS_INIT "${CMAKE_C_FLAGS_INIT} ${NEW_FLAGS}")
|
||||||
set(CMAKE_CXX_FLAGS_INIT "${CMAKE_CXX_FLAGS_INIT} ${NEW_FLAGS}")
|
set(CMAKE_CXX_FLAGS_INIT "${CMAKE_CXX_FLAGS_INIT} ${NEW_FLAGS}")
|
||||||
|
Loading…
Reference in New Issue
Block a user