# 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.. COMMANDLINE_LIBRARY = READLINE USR_CXXFLAGS += $(STD_CXXFLAGS) STD_CXXFLAGS = -std=c++11 TOOLSET_DIR = $(TOOLSET:%=$(TOOLSET_LOCATION)/%/root) GNU_DIR = $(SYSROOT)$(TOOLSET_DIR) CPPFLAGS += $(SYSROOT:%=--sysroot=%) LDFLAGS += $(SYSROOT:%=--sysroot=%) # backward compatibility: Keep unversioned libs # in order to prevent dynamic linking problems # when minor changes increment *_MAINTENANCE_VERSION SHRLIB_SUFFIX = $(SHRLIB_SUFFIX_BASE) LOADABLE_SHRLIB_SUFFIX = $(SHRLIB_SUFFIX_BASE)