diff options
| author | nibbles 2bits | 2012-06-19 23:09:40 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-06-27 13:03:20 -0700 |
| commit | 82736836c92f4c0aa3a0e6a2be294bfe047da0c8 (patch) | |
| tree | a617992c4295fb0f5e6f61682594ed60219d9e45 /Library/Formula/mcpp.rb | |
| parent | e26774b5c944c210a49fe071b7a45a05f5a26251 (diff) | |
| download | homebrew-82736836c92f4c0aa3a0e6a2be294bfe047da0c8.tar.bz2 | |
cairo: fix llvm compile error, add --universal
Cairo-1.10.2 doesn't build well with link time optimization.
Patch `configure` to remove `-flto`. This fixes the build error
with llvm. This also fixes a build error when brewing cairo as
a universal library.
Add `--universal` option. Works if gettext & glib are universal.
Patch `configure` to change `-Werror-implicit-function-declaration`
to a warning with `-Wimplicit-function-declaration`. Fixes a
build error when universal & clang.
Tested on Lion with clang and llvm from XCode-4.3.3.
Tested by building py2cairo and `import cairo`.
Fixes #12923 and #10400
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/mcpp.rb')
0 files changed, 0 insertions, 0 deletions
