<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.linuxquestions.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Licked</id>
	<title>LQWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.linuxquestions.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Licked"/>
	<link rel="alternate" type="text/html" href="https://wiki.linuxquestions.org/wiki/Special:Contributions/Licked"/>
	<updated>2026-04-15T17:50:42Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.0</generator>
	<entry>
		<id>https://wiki.linuxquestions.org/index.php?title=Make.conf&amp;diff=51511</id>
		<title>Make.conf</title>
		<link rel="alternate" type="text/html" href="https://wiki.linuxquestions.org/index.php?title=Make.conf&amp;diff=51511"/>
		<updated>2009-12-24T00:47:07Z</updated>

		<summary type="html">&lt;p&gt;Licked: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Make.conf ==&lt;br /&gt;
In [[genToo]] your make.conf file located in /etc/make.conf is used by [[portage]] as its primary source of information on how to setup your system. Within your make.conf file you will find a host of options that will determine what and how your system will function.&lt;br /&gt;
&lt;br /&gt;
==Standard Fields==&lt;br /&gt;
===CFLAGS===&lt;br /&gt;
These flags tell the compiler what type of system you are using along with any optimizations you would like to include. For example a typical AMD64 setup may look like so:&amp;lt;br&amp;gt;&lt;br /&gt;
:CFLAGS=&amp;quot;-march=athlon64 -O2 -pipe&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===CHOST===&lt;br /&gt;
This variable is set during install and should only be edited if you know what you are doing. It tells the computer what architecture you are running.&amp;lt;br&amp;gt;&lt;br /&gt;
:CHOST=&amp;quot;x86_64-pc-linux-gnu&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===CXXFLAGS===&lt;br /&gt;
This variable is generally set to mirror your CFLAGS setting, but can be set differently, again, if you know what you are doing.&amp;lt;br&amp;gt;&lt;br /&gt;
:CXXFLAGS=&amp;quot;${CFLAGS}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===MAKEOPTS===&lt;br /&gt;
This option tells the complier how many simultaneous threads it can compile at one time. Thus it usually set at your processor plus one. So for a single core processor:&amp;lt;br&amp;gt;&lt;br /&gt;
:MAKEOPTS=&amp;quot;-j2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===GENTOO_MIRRORS===&lt;br /&gt;
This setting tells [[portage]] which servers it can search for the programs you wish to install. &lt;br /&gt;
&lt;br /&gt;
===SYNC===&lt;br /&gt;
This option tells [[portage]] which server to use in order to sync itself. After syncing [[portage]] will then know what the latest version of each file is and have an update collection of ebuilds to build packages with.&lt;br /&gt;
&lt;br /&gt;
===USE===&lt;br /&gt;
This is the variable for which [[Gentoo]] is famous. Here you tell what settings you like to take effect system wide. For a fresh install which will eventually use Gnome, a good example would be:&amp;lt;br&amp;gt;&lt;br /&gt;
:USE=&amp;quot;gtk gnome X alsa cdr dvd&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===VIDEO_CARDS===&lt;br /&gt;
This variable is used by [[portage]] so when emerging X it knows which drivers to pull in. If you had an nVidia card for example:&amp;lt;br&amp;gt;&lt;br /&gt;
:VIDEO_CARDS=&amp;quot;nvidia&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===INPUT_DEVICES===&lt;br /&gt;
This variable again is used by [[portage]] in order to know which packages it needs to pull in while emerge X. A typical setup would look like:&lt;br /&gt;
:INPUT_DEVICES=&amp;quot;keyboard mouse&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Non-Standard Fields==&lt;br /&gt;
The above list only included options that standard to every make.conf file. There are naturally other options that you can include in your make.conf to further refine your system. &lt;br /&gt;
&lt;br /&gt;
===FEATURES===&lt;br /&gt;
The variable allows you to enable and disable various features of [[portage]] that are not enabled or disabled by default.&lt;br /&gt;
:FEATURES=&amp;quot;sandbox ccache&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===EMERGE_DEFAULT_OPS===&lt;br /&gt;
This option allows you to set which options you would want [[portage]] to always use when issuing a command. For example if you want [[portage]] to always run in verbose mode: &lt;br /&gt;
:EMERGE_DEFAULT_OPTS=&amp;quot;--verbose&amp;quot;&lt;/div&gt;</summary>
		<author><name>Licked</name></author>
	</entry>
</feed>