summaryrefslogtreecommitdiff
path: root/src/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party')
-rw-r--r--src/third_party/icu4c-57.1/source/SConscript7
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=[