def METHOD_NAME(self):
    if self.options.shared:
        self.options.rm_safe("fPIC")
    self.settings.rm_safe("compiler.cppstd")
    self.settings.rm_safe("compiler.libcxx")
    if not self.options.threads:
        del self.options.combinedthreads