summaryrefslogtreecommitdiff
path: root/src/third_party/libstemmer_c
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2017-05-16 17:17:36 -0400
committerAndrew Morrow <acm@mongodb.com>2017-05-19 09:48:47 -0400
commit72000a222189cd0768d7213a9835b212dd2507b5 (patch)
tree626be602bf85aec591d5ff071c3cf0b38e5fd4ed /src/third_party/libstemmer_c
parent2c2fcdffb42e95440b166c93733e120b033c0e12 (diff)
downloadmongo-72000a222189cd0768d7213a9835b212dd2507b5.tar.gz
SERVER-29221 Tag some additional libraries as free of init side effects
Diffstat (limited to 'src/third_party/libstemmer_c')
-rw-r--r--src/third_party/libstemmer_c/SConscript8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/third_party/libstemmer_c/SConscript b/src/third_party/libstemmer_c/SConscript
index 72b6edf2f9a..3ffc4aefea3 100644
--- a/src/third_party/libstemmer_c/SConscript
+++ b/src/third_party/libstemmer_c/SConscript
@@ -50,4 +50,10 @@ if myEnv.ToolchainIs('GCC', 'clang'):
# Machine generated code generates overflow warnings.
myEnv.Append(CCFLAGS=['-fno-strict-overflow'])
-myEnv.Library( "stemmer", stemmer_files )
+myEnv.Library(
+ target="stemmer",
+ source=stemmer_files,
+ LIBDEPS_TAGS=[
+ 'init-no-global-side-effects',
+ ],
+)