Browse Source

Fix Cross-Compilation Toolchain (Again)

pull/23/head
TheBrokenRail 4 weeks ago
parent
commit
0a65c91d14
  1. 3
      cmake/base-toolchain.cmake

3
cmake/base-toolchain.cmake

@ -29,7 +29,8 @@ macro(setup_toolchain target)
"-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-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_CXX_FLAGS_INIT "${CMAKE_CXX_FLAGS_INIT} ${NEW_FLAGS}")

Loading…
Cancel
Save