waifulib: fwgslib: fix forgotten check_ prefix

This commit is contained in:
Alibek Omarov 2019-10-11 06:57:20 +03:00
parent 94993276d1
commit ddccc3d534

View File

@ -61,7 +61,7 @@ def filter_flags(conf, flags, required_flags, checkfunc, checkarg, compiler):
for f in flags: for f in flags:
conf.start_msg('Checking for %s' % f) conf.start_msg('Checking for %s' % f)
f = getattr(conf, checkfunc) f = getattr(conf, 'check_' + checkfunc)
success = f(conf, **{ checkarg: [f] + check_flags, 'mandatory': False }) success = f(conf, **{ checkarg: [f] + check_flags, 'mandatory': False })
if success: if success: