summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'QA/Checker')
-rw-r--r--QA/Checker/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/QA/Checker/SConscript b/QA/Checker/SConscript
index 3b81ca4..a41a5f9 100644
--- a/QA/Checker/SConscript
+++ b/QA/Checker/SConscript
@@ -10,7 +10,7 @@ if env["TEST"] :
"LINKFLAGS": env["PLATFORM"] == "win32" and ["/SUBSYSTEM:CONSOLE"] or []
}
- if os.path.basename(env["CC"]) in ("clang", "gcc"):
+ if os.path.basename(env["CC"]).startswith(("clang", "gcc")):
env["CHECKER_FLAGS"]["CPPFLAGS"] = ["-isystem" + Dir("#/3rdParty/HippoMocks").abspath]
else :
env["CHECKER_FLAGS"]["CPPPATH"] = ["#/3rdParty/HippoMocks"]