summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2013-10-08 15:40:13 -0400
committerMathias Stearn <mathias@10gen.com>2013-10-08 17:35:05 -0400
commit62d754f99182f2f59b34eb5024848204a4de62dd (patch)
tree4e5a6cdff06e971413b7659d1cfe2a6844141993 /SConstruct
parent061a086641a2638d73884ad573eaea2a3ab8459f (diff)
downloadmongo-62d754f99182f2f59b34eb5024848204a4de62dd.tar.gz
SERVER-11084 Error when mixing --gcov and --cache
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 3 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index c7d9e736ee1..186fd8c3336 100644
--- a/SConstruct
+++ b/SConstruct
@@ -479,6 +479,9 @@ if has_option("cache"):
if has_option("release"):
print("Using the experimental --cache option is not permitted for --release builds")
Exit(1)
+ if has_option("gcov"):
+ print("Mixing --cache and --gcov doesn't work correctly yet. See SERVER-11084")
+ Exit(1)
env.CacheDir(str(env.Dir(get_option('cache-dir'))))
# This could be 'if solaris', but unfortuantely that variable hasn't been set yet.