for older RHEL7 versions because of backward compatibility problems with RPM. Remove the exception in CONFIG_SITE.Common.linuxCommon for release 7.0.8! Create links with full version shared library names to allow programs built against previous rpm version to run.
30 lines
927 B
Plaintext
30 lines
927 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
|
|
ifeq ($(filter SL% RHEL7% RHEL8%,$(T_A)),)
|
|
SHRLIB_SUFFIX = $(SHRLIB_SUFFIX_BASE)
|
|
LOADABLE_SHRLIB_SUFFIX = $(SHRLIB_SUFFIX_BASE)
|
|
endif
|