@ -31,6 +31,10 @@ ZLIB_LIBS=" $TOOLCHAIN_LIB_BASE/zlib/zlib-1.2.5/91ddd43/lib/libz.a"
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 "
# location of bzip headers and libraries
BZIP_INCLUDE = " -I $TOOLCHAIN_LIB_BASE /bzip2/bzip2-1.0.6/91ddd43/include "
BZIP_LIBS = " $TOOLCHAIN_LIB_BASE /bzip2/bzip2-1.0.6/91ddd43/lib/libbz2.a "
# location of gflags headers and libraries
GFLAGS_INCLUDE = " -I $TOOLCHAIN_LIB_BASE /gflags/gflags-1.6/91ddd43/include "
GFLAGS_LIBS = " $TOOLCHAIN_LIB_BASE /gflags/gflags-1.6/91ddd43/lib/libgflags.a "
@ -39,20 +43,22 @@ GFLAGS_LIBS=" $TOOLCHAIN_LIB_BASE/gflags/gflags-1.6/91ddd43/lib/libgflags.a"
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 $ZLIB_INCLUDE $LIBEVENT_INCLUDE $GFLAGS_INCLUDE "
CXX = " $TOOLCHAIN_EXECUTABLES /gcc/gcc-4.7.1-glibc-2.14.1/bin/g++ $JINCLUDE $SNAPPY_INCLUDE $ZLIB_INCLUDE $BZIP_INCLUDE $ LIBEVENT_INCLUDE $GFLAGS_INCLUDE "
AR = $TOOLCHAIN_EXECUTABLES /binutils/binutils-2.21.1/da39a3e/bin/ar
RANLIB = $TOOLCHAIN_EXECUTABLES /binutils/binutils-2.21.1/da39a3e/bin/ranlib
CFLAGS = " -B $TOOLCHAIN_EXECUTABLES /binutils/binutils-2.21.1/da39a3e/bin/gold -m64 -mtune=generic -fPIC "
CFLAGS += " -I $TOOLCHAIN_LIB_BASE /jemalloc/ $TOOL_JEMALLOC /include -DHAVE_JEMALLOC "
CFLAGS += " -DLEVELDB_PLATFORM_POSIX"
CFLAGS += " -DSNAPPY -DGFLAGS -DZLIB -DBZIP2"
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-1.0.1/350336c/lib/libunwind.a "
EXEC_LDFLAGS += " $HDFSLIB $SNAPPY_LIBS $ZLIB_LIBS $LIBEVENT_LIBS $GFLAGS_LIBS "
EXEC_LDFLAGS += " $HDFSLIB $SNAPPY_LIBS $ZLIB_LIBS $BZIP_LIBS $ LIBEVENT_LIBS $GFLAGS_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 $ZLIB_LIBS $GFLAGS_LIBS "
EXEC_LDFLAGS_SHARED = " $SNAPPY_LIBS $ZLIB_LIBS $BZIP_LIBS $ GFLAGS_LIBS "
VALGRIND_VER = " $TOOLCHAIN_LIB_BASE /valgrind/valgrind-3.8.1/91ddd43/bin/ "