PR11642 has been fixed, enable -fvisibility-inlines-hidden everywhere.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147296 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2011-12-27 21:37:11 +00:00
parent c894b02ae0
commit 99f9a20ba3

View File

@ -320,11 +320,8 @@ ifeq ($(ENABLE_PROFILING),1)
endif
ifeq ($(ENABLE_VISIBILITY_INLINES_HIDDEN),1)
# FIXME: clang's -fvisibility-inlines-hidden is broken for shared libs. PR11642.
ifneq ($(ENABLE_SHARED),1)
CXX.Flags += -fvisibility-inlines-hidden
endif
endif
ifdef ENABLE_EXPENSIVE_CHECKS
# GNU libstdc++ uses RTTI if you define _GLIBCXX_DEBUG, which we did above.