# Build types
VALID_BUILDS = Ioc

unexport GCC_EXEC_PREFIX

# Location of linuxRT GNU ToolChain
#LINUX_RT_HOME=/nfs/slac/g/lcls/build/linuxRT
LINUX_RT_HOME=/afs/slac/g/lcls/package/linuxRT
#LINUX_RT_HOME=/usr/local/common
GNU_DIR=$(LINUX_RT_HOME)/buildroot-2012.02/buildroot-2012.02-x86/output/host/usr/

# Cross Target Architecture
GNU_TARGET=i686-linux

# Could substitute prefix of rpath here
#SHRLIBDIR_RPATH_LDFLAGS_YES = $(SHRLIB_DEPLIB_DIRS:%=-Wl,-rpath,%)
# Only static build is supported at this time.
SHARED_LIBRARIES=NO
STATIC_BUILD=YES

# =====================================================================
# Recommended by Till Strauman:
# For linuxRT-x86 Builds.
# Let's build with optimization but have debug symbols for debugging:
# =====================================================================
OPT_CFLAGS_YES = -O3 -g
OPT_CXXFLAGS_YES = -O3 -g

