Index: dart/tools/build.py |
diff --git a/dart/tools/build.py b/dart/tools/build.py |
index 67d994c32ca46697514af1a46cffeadab872880c..73b7991267746281eac55424868dcb865eb19761 100755 |
--- a/dart/tools/build.py |
+++ b/dart/tools/build.py |
@@ -322,6 +322,7 @@ def Main(): |
for target_os in options.os: |
for mode in options.mode: |
for arch in options.arch: |
+ os.environ['DART_BUILD_MODE'] = mode |
build_config = utils.GetBuildConf(mode, arch) |
if HOST_OS == 'macos': |
filter_xcodebuild_output = True |