Skip to content

Commit

Permalink
workaround for mysql 5.6.12's mysql_config
Browse files Browse the repository at this point in the history
mysql_config from mysql 5.6.12 includes various -W flags that are not supposed by OS X's gcc. this just trims them out. hopefully it gets fixed upstream though.

thanks to @zimbatm - see Homebrew#20788
  • Loading branch information
vito committed Jul 4, 2013
1 parent b387a85 commit 9dd1c38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Library/Formula/mysql.rb
Expand Up @@ -98,6 +98,7 @@ def install


system "cmake", *args system "cmake", *args
system "make" system "make"
inreplace "scripts/mysql_config", / -W[\w-]+ /, " "
system "make install" system "make install"


# Don't create databases inside of the prefix! # Don't create databases inside of the prefix!
Expand Down

0 comments on commit 9dd1c38

Please sign in to comment.