Skip to content

Commit 9dd1c38

Browse files
committed
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
1 parent b387a85 commit 9dd1c38

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Library/Formula/mysql.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ def install
9898

9999
system "cmake", *args
100100
system "make"
101+
inreplace "scripts/mysql_config", / -W[\w-]+ /, " "
101102
system "make install"
102103

103104
# Don't create databases inside of the prefix!

0 commit comments

Comments
 (0)