aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mcpp.rb
diff options
context:
space:
mode:
authornibbles 2bits2012-06-19 23:09:40 -0700
committerAdam Vandenberg2012-06-27 13:03:20 -0700
commit82736836c92f4c0aa3a0e6a2be294bfe047da0c8 (patch)
treea617992c4295fb0f5e6f61682594ed60219d9e45 /Library/Formula/mcpp.rb
parente26774b5c944c210a49fe071b7a45a05f5a26251 (diff)
downloadhomebrew-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