summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-05-07 18:21:51 +0200
committerCarl Hetherington <cth@carlh.net>2021-05-07 18:21:51 +0200
commit63840023707d73ef80b4e86c52b9c9279eb2e9ac (patch)
treed2ce2aedc4ce3cd0a058934fac3f856e365a88e8 /wscript
parentb68a460c3ef877d95c0939b5ee02928f35e9f263 (diff)
Actually use correct gcc version in check from previous.
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index 74d0951a..97b7bf25 100644
--- a/wscript
+++ b/wscript
@@ -92,7 +92,7 @@ def configure(conf):
if conf.env.TARGET_OSX:
conf.env.append_value('CXXFLAGS', ['-Wno-unused-result', '-Wno-unused-parameter', '-Wno-unused-local-typedef'])
conf.env.append_value('LINKFLAGS', '-headerpad_max_install_names')
- elif int(gcc[0]) >= 4 and int(gcc[1]) > 1:
+ elif int(gcc[0]) > 4:
conf.env.append_value('CXXFLAGS', ['-Wsuggest-override'])
# Disable libxml++ deprecation warnings for now