0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-19 19:52:15 +02:00
openvpn3/vars/vars-linux

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
679 B
Plaintext
Raw Normal View History

2012-02-11 15:02:51 +01:00
export JAVA_DIR=/usr/lib/jvm/java-7-openjdk-amd64
[ -z "$DEP_DIR" ] && export DEP_DIR=$HOME/linux
export PLATFORM=linux
export DEBUG_BUILD=0
export OTHER_COMPILER_FLAGS="-Wno-unused-local-typedefs -Wno-unused-variable -Wno-shift-count-overflow -pthread"
export CXX_COMPILER_FLAGS="-std=c++17"
export LIB_OPT_LEVEL="-O3"
export LIB_FPIC="-fPIC"
export GPP_CMD=g++
export GCC_CMD=gcc
export AR_CMD="gcc-ar rc"
export RANLIB_CMD=gcc-ranlib
# 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