summaryrefslogtreecommitdiff
path: root/src/mongo/db/fts
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2016-12-21 18:48:56 -0500
committerAndrew Morrow <acm@mongodb.com>2017-01-03 09:45:52 -0500
commit1346352ff66b163fb010a270d1826c18699f3b36 (patch)
tree1fbe90cabe0bbdc3c6601008effbcac09ca05c65 /src/mongo/db/fts
parent4a5adbb971bdf95adce07ec01120c24b44268946 (diff)
downloadmongo-1346352ff66b163fb010a270d1826c18699f3b36.tar.gz
SERVER-27497 Scope SCons Environment changes narrowly
Diffstat (limited to 'src/mongo/db/fts')
-rw-r--r--src/mongo/db/fts/SConscript5
-rw-r--r--src/mongo/db/fts/unicode/SConscript2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/db/fts/SConscript b/src/mongo/db/fts/SConscript
index 45268af4500..4118f0f738f 100644
--- a/src/mongo/db/fts/SConscript
+++ b/src/mongo/db/fts/SConscript
@@ -2,10 +2,15 @@
Import("env")
+env = env.Clone()
+
env.SConscript(
dirs=[
'unicode',
],
+ exports=[
+ 'env',
+ ],
)
stop_word_languages = [
diff --git a/src/mongo/db/fts/unicode/SConscript b/src/mongo/db/fts/unicode/SConscript
index dc9980ec50d..32ad0b92417 100644
--- a/src/mongo/db/fts/unicode/SConscript
+++ b/src/mongo/db/fts/unicode/SConscript
@@ -2,6 +2,8 @@
Import("env")
+env = env.Clone()
+
env.Command(
target="codepoints_casefold.cpp",
source=[