Suppress clang's unhelpful gripes about -pthread switch being unused.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 5 Apr 2015 17:01:55 +0000 (13:01 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 5 Apr 2015 17:01:55 +0000 (13:01 -0400)
commit6347bdb31448f812cd726cfb3cdcdecf41a38b19
tree4f8cbc7c730d3cd683b144ca81d0787ee5060d63
parente105df208cf4a5d707a7ad0b9e6a4a23964c534b
Suppress clang's unhelpful gripes about -pthread switch being unused.

Considering the number of cases in which "unused" command line arguments
are silently ignored by compilers, it's fairly astonishing that anybody
thought this warning was useful; it's certainly nothing but an annoyance
when building Postgres.  One such case is that neither gcc nor clang
complain about unrecognized -Wno-foo switches, making it more difficult
to figure out whether the switch does anything than one could wish.

Back-patch to 9.3, which is as far back as the patch applies conveniently
(we'd have to back-patch PGAC_PROG_CC_VAR_OPT to go further, and it doesn't
seem worth that).
configure
configure.in