Fix Cross-Compilation Toolchain (Again)
All checks were successful
minecraft-pi-reborn/pipeline/head This commit looks good
All checks were successful
minecraft-pi-reborn/pipeline/head This commit looks good
This commit is contained in:
parent
55475a3a0c
commit
0a65c91d14
@ -29,7 +29,8 @@ macro(setup_toolchain target)
|
|||||||
"-isystem /usr/${target}/include/c++/${GCC_VERSION}/backward "
|
"-isystem /usr/${target}/include/c++/${GCC_VERSION}/backward "
|
||||||
"-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