diff options
| author | Max Howell | 2009-10-08 23:39:43 +0100 |
|---|---|---|
| committer | Max Howell | 2009-10-09 00:09:05 +0100 |
| commit | c2f8494b2b9bfac9e071ef184a45d558d84a88fd (patch) | |
| tree | 72b352b3f374d047dbacacc91455184d834cdb64 /Library/Formula/mysql.rb | |
| parent | d27b709d00e6b77e15336a265c3c0b3b88270f6e (diff) | |
| download | homebrew-c2f8494b2b9bfac9e071ef184a45d558d84a88fd.tar.bz2 | |
Remove optimisations fromt mysql_config --cflags
This fixes issues that people were having compiling gems off of the Homebrew mysql installation.
Diffstat (limited to 'Library/Formula/mysql.rb')
| -rw-r--r-- | Library/Formula/mysql.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/mysql.rb b/Library/Formula/mysql.rb index 933d70835..321d64032 100644 --- a/Library/Formula/mysql.rb +++ b/Library/Formula/mysql.rb @@ -99,3 +99,17 @@ __END__ then if test "$user" != "root" -o $SET_USER = 1 then +diff --git a/scripts/mysql_config.sh b/scripts/mysql_config.sh +index efc8254..8964b70 100644 +--- a/scripts/mysql_config.sh ++++ b/scripts/mysql_config.sh +@@ -132,7 +132,8 @@ for remove in DDBUG_OFF DSAFEMALLOC USAFEMALLOC DSAFE_MUTEX \ + DEXTRA_DEBUG DHAVE_purify O 'O[0-9]' 'xO[0-9]' 'W[-A-Za-z]*' \ + 'mtune=[-A-Za-z0-9]*' 'mcpu=[-A-Za-z0-9]*' 'march=[-A-Za-z0-9]*' \ + Xa xstrconst "xc99=none" AC99 \ +- unroll2 ip mp restrict ++ unroll2 ip mp restrict \ ++ mmmx 'msse[0-9.]*' 'mfpmath=sse' w pipe 'fomit-frame-pointer' 'mmacosx-version-min=10.[0-9]' + do + # The first option we might strip will always have a space before it because + # we set -I$pkgincludedir as the first option |
