Skip to content
  • Kamil Dudka's avatar
    curl-compilers.m4: improve detection of GCC's -fvisibility= flag · b2dcf034
    Kamil Dudka authored
    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.
    b2dcf034