aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMax Howell2010-02-13 13:36:07 +0000
committerMax Howell2010-02-13 13:36:07 +0000
commit954b077cc404ee8db5034b4ca9779b3e2b2a5fcf (patch)
tree59ed920a68076aabb977bdaafdbc7541b3a5e5a6 /Library/Formula
parentc3f32fef70e7209af3e3190a2645a2e39b6198c9 (diff)
downloadhomebrew-954b077cc404ee8db5034b4ca9779b3e2b2a5fcf.tar.bz2
Fixes #144; Fixes #566
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mysql.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/mysql.rb b/Library/Formula/mysql.rb
index e803e147f..be7161d93 100644
--- a/Library/Formula/mysql.rb
+++ b/Library/Formula/mysql.rb
@@ -20,6 +20,8 @@ class Mysql <Formula
end
def install
+ ENV.gcc_4_2 # http://github.com/mxcl/homebrew/issues/#issue/144
+
# See: http://dev.mysql.com/doc/refman/5.1/en/configure-options.html
# These flags may not apply to gcc 4+
ENV['CXXFLAGS'] = ENV['CXXFLAGS'].gsub "-fomit-frame-pointer", ""