Skip to content

Commit

Permalink
Merge pull request #2152 from jwillemsen/jwi-platformlinux
Browse files Browse the repository at this point in the history
Removed work arounds for ancient compilers
  • Loading branch information
jwillemsen authored Oct 27, 2023
2 parents a935e6e + 95a9b90 commit 1389db6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
4 changes: 0 additions & 4 deletions ACE/include/makeinclude/platform_gcc_clang_common.GNU
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
12 changes: 0 additions & 12 deletions ACE/include/makeinclude/platform_linux.GNU
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1389db6

Please sign in to comment.