Add --target-compiler-flags argument to specify flags for clang. (#106)

Also, avoid using environment variables to prevent interference to
other commands run by CMake. Only CMAKE_C(XX)_COMPILER is sufficient
to build flutter.
This commit is contained in:
andreadaoud
2022-08-07 12:29:27 +09:00
committed by GitHub
parent 63f86a7001
commit f6cb5b3728
4 changed files with 23 additions and 7 deletions
+1
View File
@@ -300,6 +300,7 @@ class ELinuxDevice extends Device {
targetCompilerTriple: null,
targetSysroot: '/',
systemIncludeDirectories: null,
targetCompilerFlags: null,
);
await ELinuxBuilder.buildBundle(
project: project,