diff options
| author | Jack Nagel | 2012-03-15 20:01:44 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-03-15 20:05:00 -0500 |
| commit | 172729984f9b5fe4d3968b4b69506bcf077aeeb7 (patch) | |
| tree | f89d4b1606cb3374ccb10ceb7c2430d30d58252a /Library/Formula | |
| parent | 08eb16329638835c380995385c20cbaf27eab811 (diff) | |
| download | homebrew-172729984f9b5fe4d3968b4b69506bcf077aeeb7.tar.bz2 | |
mysql: prune clang-isms from `mysql_config --cflags`
Closes #10549.
cf #10842.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mysql.rb | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Library/Formula/mysql.rb b/Library/Formula/mysql.rb index 61a032f3f..340fb7d7e 100644 --- a/Library/Formula/mysql.rb +++ b/Library/Formula/mysql.rb @@ -172,17 +172,21 @@ index 0d2045a..2fdd5ce 100644 then if test "$user" != "root" -o $SET_USER = 1 then + +# Remove optimization flags from `mysql-config --cflags` +# This facilitates easy compilation of gems using a brewed mysql diff --git a/scripts/mysql_config.sh b/scripts/mysql_config.sh -index 9296075..a600de2 100644 +index 9296075..70c18db 100644 --- a/scripts/mysql_config.sh +++ b/scripts/mysql_config.sh -@@ -137,7 +137,8 @@ for remove in DDBUG_OFF DSAFE_MUTEX DUNIV_MUST_NOT_INLINE DFORCE_INIT_OF_VARS \ +@@ -137,7 +137,9 @@ for remove in DDBUG_OFF DSAFE_MUTEX DUNIV_MUST_NOT_INLINE DFORCE_INIT_OF_VARS \ 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]' ++ mmmx 'msse[0-9.]*' 'mfpmath=sse' w pipe 'fomit-frame-pointer' 'mmacosx-version-min=10.[0-9]' \ ++ aes Os do # The first option we might strip will always have a space before it because # we set -I$pkgincludedir as the first option |
