summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-23 09:37:01 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-23 09:37:01 +0100
commitbb09615b20d477b0c0663901a2344b5a53846aeb (patch)
treedb1a59289c42509fb817e74093758a11d3af78a1 /wscript
parent8256396d73e83ea1a672fbf2cbed02f518749d76 (diff)
Remove gcc 4.1 check and hide some more warnings.
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 1 insertions, 2 deletions
diff --git a/wscript b/wscript
index c153675..5c9277f 100644
--- a/wscript
+++ b/wscript
@@ -40,8 +40,7 @@ def configure(conf):
if conf.env.TARGET_LINUX:
gcc = conf.env['CC_VERSION']
- if int(gcc[0]) >= 4 and int(gcc[1]) > 1:
- conf.env.append_value('CXXFLAGS', ['-Wno-unused-result'])
+ conf.env.append_value('CXXFLAGS', ['-Wno-unused-result', '-Wno-deprecated-copy', '-Wno-class-memaccess'])
conf.check_cfg(package='openssl', args='--cflags --libs', uselib_store='OPENSSL', mandatory=True)