cmake/toolchains: update default CROSS comment the basis for most are Debian and similar package management systems. Change-Id: I3adef707e6d4f8084c7074dbe7950cd1d02eab3f
diff --git a/build/cmake/toolchains/arm64-linux-gcc.cmake b/build/cmake/toolchains/arm64-linux-gcc.cmake index a510524..133a96a 100644 --- a/build/cmake/toolchains/arm64-linux-gcc.cmake +++ b/build/cmake/toolchains/arm64-linux-gcc.cmake
@@ -17,7 +17,8 @@ if("${CROSS}" STREQUAL "") - # Default the cross compiler prefix to something known to work. + # Default the cross compiler prefix to one used by Debian and other package + # management systems. set(CROSS aarch64-linux-gnu-) endif()
diff --git a/build/cmake/toolchains/arm64-mingw-gcc.cmake b/build/cmake/toolchains/arm64-mingw-gcc.cmake index 5472ed4..7400423 100644 --- a/build/cmake/toolchains/arm64-mingw-gcc.cmake +++ b/build/cmake/toolchains/arm64-mingw-gcc.cmake
@@ -17,6 +17,8 @@ set(CMAKE_SYSTEM_NAME "Windows") if("${CROSS}" STREQUAL "") + + # Default the cross compiler prefix to one used by MSYS2. set(CROSS aarch64-w64-mingw32-) endif()
diff --git a/build/cmake/toolchains/armv7-linux-gcc.cmake b/build/cmake/toolchains/armv7-linux-gcc.cmake index 7ce1dd8..366e198 100644 --- a/build/cmake/toolchains/armv7-linux-gcc.cmake +++ b/build/cmake/toolchains/armv7-linux-gcc.cmake
@@ -17,7 +17,8 @@ if("${CROSS}" STREQUAL "") - # Default the cross compiler prefix to something known to work. + # Default the cross compiler prefix to one used by Debian and other package + # management systems. set(CROSS arm-linux-gnueabihf-) endif()
diff --git a/build/cmake/toolchains/armv7-mingw-gcc.cmake b/build/cmake/toolchains/armv7-mingw-gcc.cmake index 8a92891..93f8c065 100644 --- a/build/cmake/toolchains/armv7-mingw-gcc.cmake +++ b/build/cmake/toolchains/armv7-mingw-gcc.cmake
@@ -17,6 +17,8 @@ set(CMAKE_SYSTEM_NAME "Windows") if("${CROSS}" STREQUAL "") + + # Default the cross compiler prefix to one used by MSYS2. set(CROSS armv7-w64-mingw32-) endif()
diff --git a/build/cmake/toolchains/ppc-linux-gcc.cmake b/build/cmake/toolchains/ppc-linux-gcc.cmake index 5c5dfe5..3aa2652 100644 --- a/build/cmake/toolchains/ppc-linux-gcc.cmake +++ b/build/cmake/toolchains/ppc-linux-gcc.cmake
@@ -17,7 +17,8 @@ if("${CROSS}" STREQUAL "") - # Default the cross compiler prefix to something known to work. + # Default the cross compiler prefix to one used by Debian and other package + # management systems. set(CROSS powerpc64le-linux-gnu-) endif()
diff --git a/build/cmake/toolchains/riscv-linux-gcc.cmake b/build/cmake/toolchains/riscv-linux-gcc.cmake index 5cdc9e4..4133be6 100644 --- a/build/cmake/toolchains/riscv-linux-gcc.cmake +++ b/build/cmake/toolchains/riscv-linux-gcc.cmake
@@ -17,7 +17,8 @@ if("${CROSS}" STREQUAL "") - # Default the cross compiler prefix to something known to work. + # Default the cross compiler prefix to one used by Debian and other package + # management systems. set(CROSS riscv64-linux-gnu-) endif()
diff --git a/build/cmake/toolchains/x86-mingw-gcc.cmake b/build/cmake/toolchains/x86-mingw-gcc.cmake index f75728f..2208333 100644 --- a/build/cmake/toolchains/x86-mingw-gcc.cmake +++ b/build/cmake/toolchains/x86-mingw-gcc.cmake
@@ -20,6 +20,9 @@ set(CMAKE_EXE_LINKER_FLAGS_INIT "-m32") if("${CROSS}" STREQUAL "") + + # Default the cross compiler prefix to one used by Debian and other package + # management systems. set(CROSS i686-w64-mingw32-) endif()
diff --git a/build/cmake/toolchains/x86_64-mingw-gcc.cmake b/build/cmake/toolchains/x86_64-mingw-gcc.cmake index 56e9b6e..978146a 100644 --- a/build/cmake/toolchains/x86_64-mingw-gcc.cmake +++ b/build/cmake/toolchains/x86_64-mingw-gcc.cmake
@@ -17,6 +17,9 @@ set(CMAKE_SYSTEM_NAME "Windows") if("${CROSS}" STREQUAL "") + + # Default the cross compiler prefix to one used by Debian and other package + # management systems. set(CROSS x86_64-w64-mingw32-) endif()