You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
buildTarget=flag.String("build-target", moscommon.BuildTargetDefault, "target to build with make")
59
-
modules=flag.StringArray("module", []string{}, "location of the module from mos.yaml, in the format: \"module_name:/path/to/location\". Can be used multiple times.")
60
-
libs=flag.StringArray("lib", []string{}, "location of the lib from mos.yaml, in the format: \"lib_name:/path/to/location\". Can be used multiple times.")
61
-
libsUpdateInterval=flag.Duration("libs-update-interval", time.Hour*1, "how often to update already fetched libs")
62
-
55
+
// Don't want to move this to BuildParams to avoid trivial command line injection.
63
56
buildCmdExtra=flag.StringArray("build-cmd-extra", []string{}, "extra make flags, added at the end of the make command. Can be used multiple times.")
64
-
cflagsExtra=flag.StringArray("cflags-extra", []string{}, "extra C flag, appended to the \"cflags\" in the manifest. Can be used multiple times.")
65
-
cxxflagsExtra=flag.StringArray("cxxflags-extra", []string{}, "extra C++ flag, appended to the \"cxxflags\" in the manifest. Can be used multiple times.")
66
-
libsExtraFlag=flag.StringArray("lib-extra", []string{}, "Extra libs to add to the app being built. Value should be a YAML string. Can be used multiple times.")
noPlatformCheckFlag=flag.Bool("no-platform-check", false, "override platform support check")
70
-
71
-
preferPrebuiltLibs=flag.Bool("prefer-prebuilt-libs", false, "if both sources and prebuilt binary of a lib exists, use the binary")
72
-
73
-
buildVarsSlice=flag.StringSlice("build-var", []string{}, `Build variable in the format "NAME=VALUE". Can be used multiple times.`)
74
-
cdefsSlice=flag.StringSlice("cdef", []string{}, `C/C++ define in the format "NAME=VALUE". Can be used multiple times.`)
75
-
76
-
noLibsUpdate=flag.Bool("no-libs-update", false, "if true, never try to pull existing libs (treat existing default locations as if they were given in --lib)")
77
-
skipCleanLibs=flag.Bool("skip-clean-libs", true, "if false, then during the remote build all libs will be uploaded to the builder")
78
57
79
58
// In-memory buffer containing all the log messages. It has to be
80
59
// thread-safe, because it's used in compProviderReal, which is an
0 commit comments