mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-29 20:29:40 -05:00
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>