aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/env.rb
diff options
context:
space:
mode:
authorMax Howell2009-07-31 16:06:14 +0100
committerMax Howell2009-07-31 16:06:14 +0100
commit7cb9c31f3e206be2688098ef182216ef948eeb37 (patch)
tree1a016ec34c0f7afdcab0f9aa9ed186f2058e4862 /Library/Homebrew/env.rb
parent055a694cd428b14bd891b19b483b1a5651789387 (diff)
downloadbrew-7cb9c31f3e206be2688098ef182216ef948eeb37.tar.bz2
Determine best optimization flags for host
We call sysctl to determine which exact Mac model we are running on and optimize as well as possible.
Diffstat (limited to 'Library/Homebrew/env.rb')
-rw-r--r--Library/Homebrew/env.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/env.rb b/Library/Homebrew/env.rb
index 7ff57071e..a9cb6aa91 100644
--- a/Library/Homebrew/env.rb
+++ b/Library/Homebrew/env.rb
@@ -18,6 +18,7 @@
require 'pathname+yeast'
require 'utils'
+# TODO if whoami == root then use /Library/Caches/Homebrew instead
HOMEBREW_VERSION='0.3'
HOMEBREW_CACHE=File.expand_path "~/Library/Caches/Homebrew"
HOMEBREW_PREFIX=Pathname.new(__FILE__).dirname.parent.parent.realpath