diff --git a/SConstruct b/SConstruct index ab4fe118c8ca..f03fb72ff3f3 100644 --- a/SConstruct +++ b/SConstruct @@ -95,7 +95,7 @@ env_base.SConsignFile(".sconsign{0}.dblite".format(pickle.HIGHEST_PROTOCOL)) customs = ["custom.py"] -profile = methods.get_cmdline_bool("profile", False) +profile = ARGUMENTS.get("profile", "") if profile: if os.path.isfile(profile): customs.append(profile)