]> granicus.if.org Git - curl/commit
curl-compilers.m4: improve detection of GCC's -fvisibility= flag
authorKamil Dudka <kdudka@redhat.com>
Tue, 21 Jun 2016 10:40:26 +0000 (12:40 +0200)
committerKamil Dudka <kdudka@redhat.com>
Tue, 21 Jun 2016 10:58:24 +0000 (12:58 +0200)
commitb2dcf0347f1ee5041cccd64632bb8dd7ccbbae91
treedd7baf721f4cf38c09bf377a1154e004ba28f3e7
parent5f2e3b886759e0822ff31c36ef10ca8df59fcf59
curl-compilers.m4: improve detection of GCC's -fvisibility= flag

Some builds of GCC produce output on both stdout and stderr when --help
--verbose is used.  The 2>&1 redirection caused them to be arbitrarily
interleaved with each other because of stream buffering.  Consequently,
grep failed to match the fvisibility= string in the mixed output, even
though the string was present in GCC's standard output.

This led to silently disabling symbol hiding in some builds of curl.
RELEASE-NOTES
m4/curl-compilers.m4