This reverts commit ecb02803c8.
It turned out that we run into unnecessary dynalic link problems when
minor (but compatible) changes cause *_MAINENANCE_VERSION to be
incremented even though the library is compatible.
Maybe use -soname MAJOR.MINOR or -soname MAJOR instead later?
30 lines
928 B
Plaintext
30 lines
928 B
Plaintext
# CONFIG_SITE.Common.linuxCommon
|
|
#
|
|
# Site-specific settings for all linux targets
|
|
|
|
# WARNING: Variables that are set in $(CONFIG)/CONFIG.gnuCommon cannot be
|
|
# overridden in this file for native builds, e.g. variables such as
|
|
# OPT_CFLAGS_YES, WARN_CFLAGS, SHRLIB_LDFLAGS
|
|
# They must be set in the host+target specific file instead:
|
|
# CONFIG_SITE.<linux-arch>.<linux-arch>
|
|
|
|
COMMANDLINE_LIBRARY = READLINE
|
|
|
|
USR_CXXFLAGS += $(STD_CXXFLAGS)
|
|
STD_CXXFLAGS = -std=c++11
|
|
|
|
TOOLSET_DIR = $(TOOLSET:%=$(TOOLSET_LOCATION)/%/root)
|
|
GNU_DIR = $(SYSROOT)$(TOOLSET_DIR)
|
|
TARGET_CPPFLAGS += $(SYSROOT:%=--sysroot=%)
|
|
TARGET_LDFLAGS += $(SYSROOT:%=--sysroot=%)
|
|
|
|
ifeq ($(filter SL% RHEL%,$(T_A)),)
|
|
VALID_BUILDS = Ioc Command
|
|
endif
|
|
|
|
# backward compatibility: Keep unversioned libs for older linux versions
|
|
ifneq ($(filter SL% RHEL7% RHEL8%,$(T_A)),)
|
|
SHRLIB_SUFFIX = $(SHRLIB_SUFFIX_BASE)
|
|
LOADABLE_SHRLIB_SUFFIX = $(SHRLIB_SUFFIX_BASE)
|
|
endif
|