|
发表于 2011-7-3 12:54:09
|
显示全部楼层
如果运行emerge时使用了--newuse (-N),emerge会要求重新编译/安装任何已安装的,ebuild中USE发生变化的软件包,无论这些增加/减少了的USE是否在make.conf/package.use/profile中被启用。只要你使用了-N,xulrunner ebuild中任何USE增加/减少都会导致重新编译。
- --newuse (-N)
- Tells emerge to include installed packages where USE flags have changed since compilation.
- This option also implies the --selective option. USE flag changes include:
- A USE flag was added to a package. A USE flag was removed from a package. A USE flag was
- turned on for a package. A USE flag was turned off for a package.
- USE flags may be toggled by your profile as well as your USE and package.use settings. If you
- would like to skip rebuilds for which disabled flags have been added to or removed from IUSE,
- see the related --reinstall=changed-use option.
复制代码
于--newuse相似的--reinstall changed-use则只在已启用的USE flag发生变化时要求重新编译,可以考虑用该选项替代--newuse。
不过,有些情况下某些未被启用USE flag被去除是因为该USE flag所代表的编译选项被默认启用(通常是为了解决bug),这种情况下使用--newuse较--reinstall changed-use更为合理。 |
|