From c2f8494b2b9bfac9e071ef184a45d558d84a88fd Mon Sep 17 00:00:00 2001 From: Max Howell Date: Thu, 8 Oct 2009 23:39:43 +0100 Subject: Remove optimisations fromt mysql_config --cflags This fixes issues that people were having compiling gems off of the Homebrew mysql installation. --- Library/Formula/mysql.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'Library') 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 -- cgit v1.2.3