summaryrefslogtreecommitdiff
path: root/src/third_party/timelib-2021.06/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/timelib-2021.06/SConscript')
-rw-r--r--src/third_party/timelib-2021.06/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/third_party/timelib-2021.06/SConscript b/src/third_party/timelib-2021.06/SConscript
index 2e69b9150be..3af5bf4e81c 100644
--- a/src/third_party/timelib-2021.06/SConscript
+++ b/src/third_party/timelib-2021.06/SConscript
@@ -38,6 +38,9 @@ try:
'-DHAVE_UNISTD_H',
'-D_GNU_SOURCE',
])
+
+ if not env.TargetOSIs('windows'):
+ env.AddToCCFLAGSIfSupported('-Wno-unused-but-set-variable')
except ValueError:
pass