Reenable building with -fvisibility-inlines-hidden.
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 22 Dec 2011 21:41:32 +0000 (21:41 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 22 Dec 2011 21:41:32 +0000 (21:41 +0000)
commit01442cd1b9697e11ac76bfd9c0aa9c1eae89fea4
tree52af43d7ec1037426c9695bf98f9ff3cd2b5f448
parentb975c27adc2371a9666fa9b8cecd9487966ec5b1
Reenable building with -fvisibility-inlines-hidden.

This was disabled years ago because of a bug in GCC 4.1, which is
on our "broken compilers" list for other reasons. Saving ~500k
on a clang binary (Release+Asserts) is well worth dropping support
for it.

We currently disable it for shared libraries (where it would bring
the biggest win) because clang is broken (PR11642).

IMPORTANT: If you're doing incremental builds you may get tons of
linker warnings. make clean will fix them.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147182 91177308-0d34-0410-b5e6-96231b3b80d8
Makefile.rules