mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 12:12:15 +02:00
df860644e8
minor edits: * Don't build OpenSSL. * Edited ovpncli/README.txt with updated build command. * Enabled C++11 in compiler flags, and turned off some spurious warnings. * Added CXX_COMPILER_FLAGS build flag to allow C++-only flags to be defined. Changes to build script as well: * Honor OTHER_COMPILER_FLAGS and CXX_COMPILER_FLAGS settings. * For debug builds, DEBUG_BUILD=1 setting should be placed in vars-x. Existing build DEBUG=1 setting now only sets -g. * For clang builds, don't emit -fvisibility=hidden because that should be placed in OTHER_COMPILER_FLAGS in vars-x.
8 lines
262 B
Plaintext
8 lines
262 B
Plaintext
export JAVA_DIR=/usr/lib/jvm/java-7-openjdk-amd64
|
|
[ -z "$DEP_DIR" ] && export DEP_DIR=$HOME/linux
|
|
export PLATFORM=linux
|
|
export OTHER_COMPILER_FLAGS="-Wno-unused-local-typedefs"
|
|
export CXX_COMPILER_FLAGS="-std=c++11"
|
|
export LIB_OPT_LEVEL="-O3"
|
|
export LIB_FPIC=""
|