Add target-compiler-triple option (#88)

This commit is contained in:
Hidenori Matsubayashi
2022-04-07 16:35:28 +09:00
committed by GitHub
parent fc4efe0ac2
commit 7fd1502d58
4 changed files with 18 additions and 6 deletions
+2 -1
View File
@@ -291,12 +291,13 @@ class ELinuxDevice extends Device {
BuildInfo buildInfo,
}) async {
final FlutterProject project = FlutterProject.current();
// TODO(hidenori): change the fixed values (|targetSysroot| and |systemIncludeDirectories|)
// TODO(hidenori): change the fixed values (|targetSysroot|, |systemIncludeDirectories| and |targetCompilerTriple|)
// to the values from user-specified custom-devices feilds.
final ELinuxBuildInfo eLinuxBuildInfo = ELinuxBuildInfo(
buildInfo,
targetArch: _targetArch,
targetBackendType: _backendType,
targetCompilerTriple: null,
targetSysroot: '/',
systemIncludeDirectories: null,
);