mxcl/homebrew — pull request #8631 by 2bits (2011-11-17 04:01:48+00:00)
Title: pkg-config add gnu89 fixes Lion + Clang

pkg-config append to cflags -std=gnu89 on Lion fixes duplicate
symbols linking libglib when compiling with Clang-3.0 from
XCode-4.2 (4D199). The flag is appended only on Lion, though
it successfully tests on Snow Leopard in 64bit, too. Also adds
make check to confirm success, given the critical nature of the
software. Tests take 0.25 sec.