remove options depending on OSS_OBSOLETE