How can I set a global configuration for compiling packages?
/etc/make.conf should be modified to override global and profile-specific default options used to compile and merge packages. The most common options are as follows: Flag Description CHOST This sets the HOST variable for compiles, e.g. i686-pc-linux-gnu CFLAGS The options for gcc when compiling programs written in C (*.c files) CXXFLAGS The options for gcc when compiling programs written in C++ (*.c,*.cpp etc. files) USE This allows you to set what optional components you’d like compiled-in, if available. For example, if you have gnome inside the USE string, then when you compile xchat, it will include GNOME support. All our dependencies are also USE-aware. GENTOO_MIRRORS A space separated list of URIs currently mirroring the Gentoo packages. Portage will attempt download from a GENTOO_MIRROR first before trying the official SRC_URI. To force Portage to skip mirrors, set this variable to “”.