Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I set a global configuration for compiling packages?

0
Posted

How can I set a global configuration for compiling packages?

0

/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 “”.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123