Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking for a a settings file in Homebrew for OS X that controls the build settings, similar to make.conf in Gentoo.

I want to tweak the make -j parameter to use more cores of my machine. The problem is, I can't find anything useful related to brew in /usr/local/etc. Is there a simple answer to this?

share|improve this question
Each brew has its own recipe for making. These are usually ruby files, IIRC. You can certainly customize them, but there are no system wide homewbrew settings that I know of. – jakev Oct 26 '12 at 17:17
up vote 0 down vote accepted

As @jakev said, each Homebrew formula is a separate Ruby script. You can find them at

If you want to edit the way a specific formula builds, you can do that locally. The following will open your default editor with the locally cached formula.

brew edit name-of-formula

The reason for the absence of global build settings is simply that each formula might build in different ways, and editing yourself ("homebrewing") is explicitly encouraged.

share|improve this answer
That's an interesting design decision, since it would make sense to store some parameters, such as the "-j" build option globally. MacPorts seems more structured (if less flexible) in this sense. – Koffiman Oct 29 '12 at 16:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.