Only use gcc-specific options when the compiler is gcc
authorMatthias Clasen <mclasen@redhat.com>
Mon, 5 Sep 2011 00:06:53 +0000 (20:06 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 5 Sep 2011 00:06:53 +0000 (20:06 -0400)
commit6274386e52efd7c951d5e40ed2eacd5d0a843b83
treed3ec0a0f13818c27aba846fc9cbdc0b2e0572dbc
parent350a1cda0a4ef7ad29f0c041239a96ea1ea1c8c5
Only use gcc-specific options when the compiler is gcc

The -Wstrict-aliasing option that we use to compile atomic
tests does not exist with compilers other than gcc, so
don't pass it to those.
https://bugzilla.gnome.org/show_bug.cgi?id=652272
https://bugzilla.gnome.org/show_bug.cgi?id=656152
configure.ac
glib/tests/Makefile.am