This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Exempt clang from -Wunused-value when run as cc
authorFather Chrysostomos <sprout@cpan.org>
Sun, 28 Jul 2013 20:21:24 +0000 (13:21 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 28 Jul 2013 20:39:10 +0000 (13:39 -0700)
commit7a5b1e22b731c65eb2ce1c4fc188bab00ac4ae8d
tree564cff9c6cb29044536a6e7c2636e0b0df5dda36
parentba36554e02872e48d146177a57a9cfb154727fae
Exempt clang from -Wunused-value when run as cc

We already have an exception for it when called as clang or clang-1.2.3,
but not when called as cc or anything else.  Mac OS X Mountain Lion
therefore ends up spitting out lots of warnings, as cc is a symlink
to clang.
cflags.SH