2012-02-11 15:02:51 +01:00
|
|
|
export JAVA_DIR=/usr/lib/jvm/java-7-openjdk-amd64
|
2014-03-03 22:34:39 +01:00
|
|
|
[ -z "$DEP_DIR" ] && export DEP_DIR=$HOME/linux
|
2011-11-22 04:01:28 +01:00
|
|
|
export PLATFORM=linux
|
2014-08-11 04:08:59 +02:00
|
|
|
export DEBUG_BUILD=0
|
2021-10-07 12:12:32 +02:00
|
|
|
export OTHER_COMPILER_FLAGS="-Wno-unused-local-typedefs -Wno-unused-variable -Wno-shift-count-overflow -pthread"
|
2023-02-09 13:15:02 +01:00
|
|
|
export CXX_COMPILER_FLAGS="-std=c++17"
|
2012-09-10 01:10:20 +02:00
|
|
|
export LIB_OPT_LEVEL="-O3"
|
2014-08-30 07:27:09 +02:00
|
|
|
export LIB_FPIC="-fPIC"
|
2017-02-17 18:14:07 +01:00
|
|
|
export GPP_CMD=g++
|
|
|
|
export GCC_CMD=gcc
|
2021-10-07 22:01:13 +02:00
|
|
|
export AR_CMD="gcc-ar rc"
|
2017-02-17 18:14:07 +01:00
|
|
|
export RANLIB_CMD=gcc-ranlib
|
2023-01-31 14:09:59 +01:00
|
|
|
# For Ubuntu 18
|
|
|
|
if g++ --version |grep 7.5.0 > /dev/null ; then
|
|
|
|
if [ -e /usr/bin/g++-8 ]; then
|
|
|
|
export GPP_CMD=g++-8
|
|
|
|
export GCC_CMD=gcc-8
|
|
|
|
export AR_CMD="gcc-ar-8 rc"
|
|
|
|
export RANLIB_CMD=gcc-ranlib-8
|
|
|
|
fi
|
|
|
|
fi
|