def build_args_from_supported_features( features ):
    """Build a list of --enable or --disable features from a dictionary.
    Ex: --enable-music-wave would be the result of {'music-wave': True}"""
    args = []
    for feature in features:
        if features[feature]:
            args.append( '--enable-' + feature )
        else:
            args.append( '--disable-' + feature )

    return args