File: vars-linux

package info (click to toggle)
openvpn3-client 24.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 19,384 kB
  • sloc: cpp: 180,128; python: 11,591; ansic: 1,878; sh: 1,767; java: 402; lisp: 81; makefile: 44
file content (21 lines) | stat: -rw-r--r-- 679 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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