@ -32,22 +32,26 @@ THRIFT_INCLUDE=" -I $TOOLCHAIN_LIB_BASE/boost/boost-1.48.0/bef9365/include -std=
THRIFT_INCLUDE += " -I./thrift -I./thrift/gen-cpp -I./thrift/lib/cpp"
THRIFT_INCLUDE += " -I./thrift -I./thrift/gen-cpp -I./thrift/lib/cpp"
THRIFT_LIBS = " -L $TOOLCHAIN_LIB_BASE /boost/boost-1.48.0/bef9365/lib "
THRIFT_LIBS = " -L $TOOLCHAIN_LIB_BASE /boost/boost-1.48.0/bef9365/lib "
# location of libevent
LIBEVENT_INCLUDE = " -I $TOOLCHAIN_LIB_BASE /libevent/libevent-1.4.14b/91ddd43/include "
LIBEVENT_LIBS = " -L $TOOLCHAIN_LIB_BASE /libevent/libevent-1.4.14b/91ddd43/lib "
# use Intel SSE support for checksum calculations
# use Intel SSE support for checksum calculations
if test -z " $USE_SSE " ; then
if test -z " $USE_SSE " ; then
export USE_SSE = " -msse -msse4.2 "
export USE_SSE = " -msse -msse4.2 "
fi
fi
CC = " $TOOLCHAIN_EXECUTABLES /gcc/gcc-4.7.1-glibc-2.14.1/bin/gcc "
CC = " $TOOLCHAIN_EXECUTABLES /gcc/gcc-4.7.1-glibc-2.14.1/bin/gcc "
CXX = " $TOOLCHAIN_EXECUTABLES /gcc/gcc-4.7.1-glibc-2.14.1/bin/g++ $JINCLUDE $SNAPPY_INCLUDE $THRIFT_INCLUDE "
CXX = " $TOOLCHAIN_EXECUTABLES /gcc/gcc-4.7.1-glibc-2.14.1/bin/g++ $JINCLUDE $SNAPPY_INCLUDE $THRIFT_INCLUDE $LIBEVENT_INCLUDE "
AR = $TOOLCHAIN_EXECUTABLES /binutils/binutils-2.21.1/da39a3e/bin/ar
AR = $TOOLCHAIN_EXECUTABLES /binutils/binutils-2.21.1/da39a3e/bin/ar
RANLIB = $TOOLCHAIN_EXECUTABLES /binutils/binutils-2.21.1/da39a3e/bin/ranlib
RANLIB = $TOOLCHAIN_EXECUTABLES /binutils/binutils-2.21.1/da39a3e/bin/ranlib
CFLAGS = " -B $TOOLCHAIN_EXECUTABLES /binutils/binutils-2.21.1/bin/gold -m64 -mtune=generic -fPIC "
CFLAGS = " -B $TOOLCHAIN_EXECUTABLES /binutils/binutils-2.21.1/bin/gold -m64 -mtune=generic -fPIC "
CFLAGS += " -I $TOOLCHAIN_LIB_BASE /jemalloc/ $TOOL_JEMALLOC /include -DHAVE_JEMALLOC "
CFLAGS += " -I $TOOLCHAIN_LIB_BASE /jemalloc/ $TOOL_JEMALLOC /include -DHAVE_JEMALLOC "
EXEC_LDFLAGS = " -Wl,--whole-archive $TOOLCHAIN_LIB_BASE /jemalloc/ $TOOL_JEMALLOC /lib/libjemalloc.a "
EXEC_LDFLAGS = " -Wl,--whole-archive $TOOLCHAIN_LIB_BASE /jemalloc/ $TOOL_JEMALLOC /lib/libjemalloc.a "
EXEC_LDFLAGS += " -Wl,--no-whole-archive $TOOLCHAIN_LIB_BASE /libunwind/libunwind-20100812_experimental/91ddd43/lib/libunwind.a "
EXEC_LDFLAGS += " -Wl,--no-whole-archive $TOOLCHAIN_LIB_BASE /libunwind/libunwind-20100812_experimental/91ddd43/lib/libunwind.a "
EXEC_LDFLAGS += " $HDFSLIB $SNAPPY_LIBS $THRIFT_LIBS "
EXEC_LDFLAGS += " $HDFSLIB $SNAPPY_LIBS $THRIFT_LIBS $LIBEVENT_LIBS "
EXEC_LDFLAGS_SHARED = " $SNAPPY_LIBS $TOOLCHAIN_LIB_BASE /jemalloc/ $TOOL_JEMALLOC /lib/libjemalloc.so "
EXEC_LDFLAGS_SHARED = " $SNAPPY_LIBS $TOOLCHAIN_LIB_BASE /jemalloc/ $TOOL_JEMALLOC /lib/libjemalloc.so "
SNAPPY_LDFLAGS = " $SNAPPY_LIBS "
SNAPPY_LDFLAGS = " $SNAPPY_LIBS "