Fix Cross-Compilation Toolchain (Again)

This commit is contained in:
TheBrokenRail 2021-09-20 23:16:09 -04:00
parent 55475a3a0c
commit 0a65c91d14

View File

@ -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-fixed "
"-isystem /usr/${target}/include "
"-isystem /usr/include"
)
set(CMAKE_C_FLAGS_INIT "${CMAKE_C_FLAGS_INIT} ${NEW_FLAGS}")
set(CMAKE_CXX_FLAGS_INIT "${CMAKE_CXX_FLAGS_INIT} ${NEW_FLAGS}")