63f86a7001
* Change how sysroot is passed to CMake. In the CMake documentation, it is specified that the CMAKE_SYSROOT variable should be passed in toolchain file variable. It has no effect to set this variable in CMakeLists.txt like the current implementation. (This is why CMAKE_FIND_ROOT_PATH is needed.) The --sysroot option is not passed to the compiler in the current approach. This commit, instead, sets the sysroot variable in CMake command line arguments. This makes it effective, and no CMAKE_FIND_ROOT_PATH is needed. Moreover, it is not the duty of architecture to decide whether we are cross-compiling or not. For example, if I compile this on my Linux VM on mac M1 to i.MX8 processor, both host and target has the same arm64 architecture, but they doesn't share the same sysroot, so the standard cross-compile procedure should be followed. So, the real difference for cross-compile is that whether we share the same sysroot, rather than whether we have the same arch. So this commit changes the detection method to compare sysroot.
10 lines
306 B
Plaintext
10 lines
306 B
Plaintext
# Below is a list of people and organizations that have contributed
|
|
# to sony/flutter-elinux from after forking flutter-tizen. Names should
|
|
# be added to the list like so:
|
|
#
|
|
# Name/Organization <email address>
|
|
|
|
Sony Group Corporation
|
|
Michael Lamers (info@devmil.de)
|
|
Andrea Daoud (andreadaoud6@gmail.com)
|