Index: utils/compiler/build_helper.dart |
diff --git a/utils/compiler/build_helper.dart b/utils/compiler/build_helper.dart |
index e7e31d7715434f56918eb40d5d8e5f3b5ffb7cb4..fa2ec0c3687c8bafabf2d75841764578c66e5482 100644 |
--- a/utils/compiler/build_helper.dart |
+++ b/utils/compiler/build_helper.dart |
@@ -36,7 +36,7 @@ main() { |
'dart2js-developer', |
dartUri, dartVmUri, |
'sdk/lib/_internal/compiler/implementation/dart2js.dart', |
- ' --enable_checked_mode'); |
+ r' ${DART_VM_FLAGS:---enable_checked_mode}'); |
writeScript(developerUri, developerScript); |
List<String> dartdocScript = buildScript( |