@ -23,6 +23,10 @@ fi
SNAPPY_INCLUDE = " -I $TOOLCHAIN_LIB_BASE /snappy/snappy-1.0.3/7518bbe/include "
SNAPPY_LIBS = " $TOOLCHAIN_LIB_BASE /snappy/snappy-1.0.3/7518bbe/lib/libsnappy.a "
# location of zlib headers and libraries
ZLIB_INCLUDE = " -I $TOOLCHAIN_LIB_BASE /zlib/zlib-1.2.5/91ddd43/include "
ZLIB_LIBS = " $TOOLCHAIN_LIB_BASE /zlib/zlib-1.2.5/91ddd43/lib/libz.a "
# location of boost headers and libraries
THRIFT_INCLUDE = " -I $TOOLCHAIN_LIB_BASE /boost/boost-1.48.0/bef9365/include -std=gnu++0x "
THRIFT_INCLUDE += " -I./thrift -I./thrift/gen-cpp -I./thrift/lib/cpp"
@ -36,7 +40,7 @@ LIBEVENT_LIBS=" -L $TOOLCHAIN_LIB_BASE/libevent/libevent-1.4.14b/91ddd43/lib"
export USE_SSE = " -msse -msse4.2 "
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 $LIBEVENT_INCLUDE "
CXX = " $TOOLCHAIN_EXECUTABLES /gcc/gcc-4.7.1-glibc-2.14.1/bin/g++ $JINCLUDE $SNAPPY_INCLUDE $ZLIB_INCLUDE $ THRIFT_INCLUDE $LIBEVENT_INCLUDE "
AR = $TOOLCHAIN_EXECUTABLES /binutils/binutils-2.21.1/da39a3e/bin/ar
RANLIB = $TOOLCHAIN_EXECUTABLES /binutils/binutils-2.21.1/da39a3e/bin/ranlib
@ -45,11 +49,11 @@ 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,--no-whole-archive $TOOLCHAIN_LIB_BASE /libunwind/libunwind-20100812_experimental/91ddd43/lib/libunwind.a "
EXEC_LDFLAGS += " $HDFSLIB $SNAPPY_LIBS $THRIFT_LIBS $LIBEVENT_LIBS "
EXEC_LDFLAGS += " $HDFSLIB $SNAPPY_LIBS $ZLIB_LIBS $ THRIFT_LIBS $LIBEVENT_LIBS "
PLATFORM_LDFLAGS = " -L $TOOLCHAIN_LIB_BASE /libgcc/libgcc-4.7.1/afc21dc/lib -L $TOOLCHAIN_LIB_BASE /glibc/glibc-2.14.1/99df8fc/lib "
EXEC_LDFLAGS_SHARED = " $SNAPPY_LIBS "
SNAPPY_LDFLAGS = " $SNAPPY_LIBS "
EXEC_LDFLAGS_SHARED = " $SNAPPY_LIBS $ZLIB_LIBS "
SNAPPY_LDFLAGS = " $SNAPPY_LIBS $ZLIB_LIBS "
export CC CXX AR RANLIB CFLAGS EXEC_LDFLAGS EXEC_LDFLAGS_SHARED SNAPPY_LDFLAGS