View Single Post
 
Old 05-30-2012, 04:25 AM
ghostec ghostec is offline
Jaguar
 
Join Date: Jan 2012
Posts: 41
(guide) How to compile with homebrew in AMD

I was having this problem, without this workaroung it is very likely that you (AMD user) won't be able to compile anything with homebrew.

The thing that need to be done is:

Open /usr/local/Library/homebrew/extend/ENV.rb and search for the lines starting with set_cpu_cflags then comment with a # before or change the entire line to set_cpu_cflags "arch -i386"

This way it won't be needed to edit formula by formula of the programs you want to compile and you will be able to use homebrew.
Reply With Quote