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