def METHOD_NAME(self):
    if self.options.shared:
        self.options.rm_safe("fPIC")
    # for plain C projects only
    self.settings.rm_safe("compiler.libcxx")
    self.settings.rm_safe("compiler.cppstd")