diff --git a/flags/assertflags.py b/flags/assertflags.py index 3373275..c7f0b08 100644 --- a/flags/assertflags.py +++ b/flags/assertflags.py @@ -16,7 +16,7 @@ import sysconfig # The flags that currently don't have the -Og flag on the debug build # and we consider it OK, because we don't know any better :) -WHITELIST = [ +SKIP = [ 'CONFIGURE_CFLAGS', 'CONFIGURE_CFLAGS_NODIST', 'CONFIG_ARGS', @@ -27,7 +27,7 @@ print('Expecting that {} is the last -O flag:\n'.format(sys.argv[1])) ret = 0 for key, flags in sysconfig.get_config_vars().items(): - if key in WHITELIST: + if key in SKIP: continue if isinstance(flags, str): oflags = [f for f in flags.split(' ') if f.startswith('-O')]