Skip to content
Permalink
Browse files

workaround for mysql 5.6.12's mysql_config

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 9dd1c38a73597535356cb2053f52ca7ef253ff79
Showing with 1 addition and 0 deletions.
  1. +1 −0 Library/Formula/mysql.rb
@@ -98,6 +98,7 @@ def install

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

# Don't create databases inside of the prefix!

0 comments on commit 9dd1c38

Please sign in to comment.
You can’t perform that action at this time.