diff --git a/ACE/include/makeinclude/platform_gcc_clang_common.GNU b/ACE/include/makeinclude/platform_gcc_clang_common.GNU index 6827c9ebe63c9..2e29d5d4f4922 100644 --- a/ACE/include/makeinclude/platform_gcc_clang_common.GNU +++ b/ACE/include/makeinclude/platform_gcc_clang_common.GNU @@ -6,7 +6,6 @@ CCFLAGS += -Wnon-virtual-dtor # Suppress "Creating *.a" Message ARFLAGS += -c -gcc_template_instantiation_visibility ?= 0 ifeq ($(shared_libs), 1) ifneq ($(static_libs_only), 1) # Add all symbols to the dynamic symbol table. Needed to enable @@ -34,9 +33,6 @@ ifeq ($(shared_libs), 1) # improved shared library binaries. ifneq ($(no_hidden_visibility),1) CCFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden - ifeq ($(gcc_template_instantiation_visibility),1) - CCFLAGS += -DACE_GCC_HAS_TEMPLATE_INSTANTIATION_VISIBILITY_ATTRS=1 - endif # gcc_template_instantiation_visibility else CPPFLAGS += -DACE_HAS_CUSTOM_EXPORT_MACROS=0 endif # no_hidden_visibility diff --git a/ACE/include/makeinclude/platform_linux.GNU b/ACE/include/makeinclude/platform_linux.GNU index 850bab81bedb3..466fb28661369 100644 --- a/ACE/include/makeinclude/platform_linux.GNU +++ b/ACE/include/makeinclude/platform_linux.GNU @@ -21,18 +21,6 @@ ifeq (Ubuntu, $(findstring Ubuntu,$(LSB_RELEASE_ID))) no_hidden_visibility ?= 1 endif endif -ifeq (Red Hat, $(findstring Red Hat,$(CXX_FULL_VERSION))) - ifeq (4.1.1, $(findstring 4.1.1,$(CXX_VERSION))) - gcc_template_instantiation_visibility ?= 1 - endif - ifeq (4.1.2, $(findstring 4.1.2,$(CXX_VERSION))) - gcc_template_instantiation_visibility ?= 1 - endif -endif -# Mandriva 2007 -ifeq (4.1.1-3mdk, $(findstring 4.1.1-3mdk,$(CXX_FULL_VERSION))) - gcc_template_instantiation_visibility ?= 1 -endif ifeq ($(buildbits),32) FLAGS_C_CC += -m32