diff options
author | ADAM David Alan Martin <adam.martin@10gen.com> | 2019-02-07 17:50:12 -0500 |
---|---|---|
committer | ADAM David Alan Martin <adam.martin@10gen.com> | 2019-02-07 19:01:17 -0500 |
commit | c00a48bbad010868c86a1f17c2ac78002f0e945b (patch) | |
tree | 66f22c34f728fae26ac8d589fdbbb04268647cc1 /src/third_party | |
parent | c3f2bef80849a86f9a073ddd21c3e0130b046d2f (diff) | |
download | mongo-c00a48bbad010868c86a1f17c2ac78002f0e945b.tar.gz |
SERVER-39352 Ignore use of `register` keyword in ICU on FreeBSD
Diffstat (limited to 'src/third_party')
-rw-r--r-- | src/third_party/icu4c-57.1/source/SConscript | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/third_party/icu4c-57.1/source/SConscript b/src/third_party/icu4c-57.1/source/SConscript index 2da0fba6e83..4486c01cc5b 100644 --- a/src/third_party/icu4c-57.1/source/SConscript +++ b/src/third_party/icu4c-57.1/source/SConscript @@ -51,6 +51,13 @@ if env.TargetOSIs('windows'): # C4996: '...': was declared deprecated env.Append(CCFLAGS=['/wd4996']) + +# Suppress `register` keyword warnings in FreeBSD builds + +if env.TargetOSIs('freebsd'): + env.Append(CCFLAGS=['-Wno-error=register']) + env.Append(CCFLAGS=['-Wno-register']) + i18nEnv = env.Clone() i18nEnv.Append( CPPDEFINES=[ |