summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-02-04 13:03:45 +0100
committerCarl Hetherington <cth@carlh.net>2024-02-04 13:03:45 +0100
commit2310a084216fc737fad879b79ae9f845ac461c1b (patch)
tree30a84fb627877a9f87046063062a636cd95d5af5 /wscript
parent52dc2f13d5cd03403da20e1764ba474c829a1a26 (diff)
parent32dcd32b2c87766a1248bb078826ce9b83efacc4 (diff)
Merge branch 'main' into v2.17.x
Diffstat (limited to 'wscript')
-rw-r--r--wscript10
1 files changed, 9 insertions, 1 deletions
diff --git a/wscript b/wscript
index f6907f3a2..f4e33328f 100644
--- a/wscript
+++ b/wscript
@@ -112,9 +112,16 @@ def configure(conf):
'-Wall',
'-Wextra',
'-Wwrite-strings',
- '-Wno-error=deprecated',
# getMessengerLogger() in the grok code triggers these warnings
'-Wno-nonnull',
+ # These next 5 are for Xcode 15.0.1 with the v2.16.x-era
+ # dependencies; maybe they aren't necessary when building
+ # v2.1{7,8}.x
+ '-Wno-error=deprecated',
+ '-Wno-deprecated-builtins',
+ '-Wno-deprecated-declarations',
+ '-Wno-enum-constexpr-conversion',
+ '-Wno-deprecated-copy',
# I tried and failed to ignore these with _Pragma
'-Wno-ignored-qualifiers',
'-D_FILE_OFFSET_BITS=64',
@@ -217,6 +224,7 @@ def configure(conf):
if conf.env.TARGET_OSX:
conf.env.append_value('CXXFLAGS', ['-DDCPOMATIC_OSX', '-DGL_SILENCE_DEPRECATION'])
conf.env.append_value('LINKFLAGS', '-headerpad_max_install_names')
+ conf.env.append_value('LINKFLAGS', '-llzma')
#
# Dependencies.