summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'SwifTools')
-rw-r--r--SwifTools/SConscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/SwifTools/SConscript b/SwifTools/SConscript
index d91c5d4..9aa3bed 100644
--- a/SwifTools/SConscript
+++ b/SwifTools/SConscript
@@ -61,8 +61,8 @@ if env["SCONS_STAGE"] == "build" :
swiftools_env.Append(CPPDEFINES = ["HAVE_XSS"])
sources += ["Idle/XSSIdleQuerier.cpp"]
- swiftools_env.UseFlags(swiftools_env["BREAKPAD_FLAGS"])
- if env["HAVE_BREAKPAD"] :
+ if env.get("HAVE_BREAKPAD", False) :
+ swiftools_env.UseFlags(swiftools_env["BREAKPAD_FLAGS"])
swiftools_env.Append(CPPDEFINES = ["HAVE_BREAKPAD"])
sources += ["CrashReporter.cpp"]