# 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
CODE_CPPFLAGS += -fno-strict-aliasing
USR_CXXFLAGS += $(STD_CXXFLAGS)
STD_CXXFLAGS = -std=c++11

TOOLSET_DIR      = $(TOOLSET:%=$(TOOLSET_LOCATION)/%/root)
GNU_DIR = $(TOOLSET_DIR)
TARGET_CPPFLAGS += $(SYSROOT:%=--sysroot=%)
TARGET_LDFLAGS  += $(SYSROOT:%=--sysroot=%)

ifeq ($(filter SL% RHEL%,$(T_A)),)
VALID_BUILDS = Ioc Command
endif
