|
|

楼主 |
发表于 2009-2-12 12:12:01
|
显示全部楼层
Post by cheeselee;1946685
最好只设置在自己安装软件时出现的USE标志。也即是随着软件的安装,见到的USE标志也越多,在make.conf里的USE设置才也逐渐增多。
也即是不要一开始就把别人的USE设置抄过来,一开始就自己设置太多的USE可能会造成后来的安装出现循环依赖或者block
我不想设置 USE, 我想设置其它的变量
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
# <gcc-4.3
#CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
# >=gcc-4.3
#CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"
# GCC 4.3 introduces a new -march option, -march=native, which automatically detects
# the features your CPU supports and sets the options appropriately. If you have an
# Intel or AMD CPU and are using >=sys-devel/gcc-4.2.0, using -march=native is recommended.
# Do NOT use -march=native if you use distcc on nodes with different architectures as
# this may produce unusable code.
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"
LDFLAGS="-Wl,-O1"
ACCEPT_KEYWORDS="~x86"
FEATURES="parallel-fetch ccache"
PORTAGE_RSYNC_INITIAL_TIMEOUT=30
CCACHE_DIR="/var/tmp/ccache/"
CCACHE_SIZE="2G"
# 电信
SYNC="rsync://mirror.averse.net/gentoo-portage"
#SYNC="rsync://linux.ntcu.net/gentoo-portage"
# 网通
#SYNC="rsync://61.135.158.199/gentoo-portage"
# 电信
GENTOO_MIRRORS="ftp://gentoo.anheng.com.cn/gentoo http://mirror.averse.net/pub/gentoo/"
# 网通
#GENTOO_MIRRORS="http://61.135.158.199"
#USE="X a52 aac accessibility acpi alsa branding bzip2 cairo cjk dell dbus dri dvd emacs ffmpeg flac glib gnome gnutls gtk hal java laptop logrotate mozilla mmx nautilus nls nptl nptlonly nsplugin nvidia opengl pdf perl real realmedia readline sound ssl sse sse2 ssse3 svg unicode theora truetype xulrunner zlib bash-completion gif png xml -eds -esd -ipv6 -gcj -kde -qt3 -spell"
USE="X gtk gnome glib nautilus svg jpeg dri xml tiff bzip2 zlib gnutls hal wifi nautilus xulrunner bash-completion truetype cleartype sound alsa dvd acpi ffmpeg gstreamer png pdf unicode gif cjk nvidia opengl glitz xcb dell laptop cairo dbus -kde -qt3"
LINGUAS="zh_CN zh"
VIDEO_CARDS="nv nvidia vesa" #像这些之类的
ALSA_CARDS="hda-intel" #那儿提供这些变量
INPUT_DEVICES="keyboard mouse synaptics"
MAKEOPTS="-j3" |
|