Fix hidden visibility compiler test
authorAlan Modra <amodra@gmail.com>
Fri, 25 May 2018 05:37:15 +0000 (15:07 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 25 May 2018 05:56:47 +0000 (15:26 +0930)
commit629dabe3b731c6194499652301935f34c3c20e0c
tree41a6bd826719090a4c62a49d17ca3d96071913c3
parentf9885f5602476e402626bf305d6bc328eaf626c3
Fix hidden visibility compiler test

Warnings from configure tests aren't usually checked.  gcc's
"visibility attribute not supported in this configuration" warning is
enabled by default so we don't need to add any warning flag except
-Werror.

* configure.ac (bfd_cv_hidden): Run test with -Werror in CFLAGS.
* configure: Regenerate.
bfd/ChangeLog
bfd/configure
bfd/configure.ac