6 Commits

Author SHA1 Message Date
Anton Sakhon 1d06f87d2d Use all cores during build (#171)
* Use all cores during build

* Updated Authors

---------

Co-authored-by: Anton Sakhon <anton.sakhon@dataart.com>
2023-03-21 02:40:08 +09:00
CloudWebRTC 8d3e9fb098 pass FLUTTER_TARGET_PLATFORM flag to cmake. (#150)
* pass FLUTTER_TARGET_PLATFORM flag to cmake.

* chore: update AUTHORS.

* Update elinux_build_target.dart
2022-11-15 12:24:32 +09:00
Mohammad Taha Bin Firoz 56d0513a88 broken cross compile work around added (#129)
* broken cross compile work around added

* Added comments for context

* Move CMAKE_FIND_ROOT_PATH_MODE_PROGRAM before project to prevent make from sysroot being used.

Signed-off-by: Taha Firoz mtahafiroz@gmail.com
2022-09-02 22:41:13 +09:00
andreadaoud 63f86a7001 Change how sysroot is passed to CMake. (#105)
* 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.
2022-08-07 11:53:34 +09:00
Michael Lamers 81d810f2d0 Flutter version 2.10.1 (#76)
bumps engine and flutter commit ids
adapts tool API changes
adds my name to the AUTHORS file as requested by the contribution guide
2022-02-16 10:20:37 +09:00
Hidenori Matsubayashi d10fcb6127 first commit 2021-07-16 13:03:30 +09:00