* Do not treat warnings as errors during corefx build in docker.
* Add a comment.
# clang3.9, which is currently the default used by the native build.
build_args += ' /p:BuildNativeClang=--clang5.0'
+ if not Is_windows and (arch == 'arm' or arch == 'arm64'):
+ # It is needed under docker where LC_ALL is not configured.
+ build_args += ' --warnAsError false'
+
command = ' '.join(('build.cmd' if Is_windows else './build.sh', build_args))
log(command)
returncode = 0 if testing else os.system(command)