0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 04:02:15 +02:00

In Linux build config, added -Wno-unused-variable and

-Wno-shift-count-overflow for GCC 5.
This commit is contained in:
James Yonan 2015-11-27 11:27:42 -07:00
parent a96c972c43
commit 5aae2c74f7
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ 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 -pthread"
export OTHER_COMPILER_FLAGS="-Wno-unused-local-typedefs -Wno-unused-variable -Wno-shift-count-overflow -pthread"
export CXX_COMPILER_FLAGS="-std=c++11"
export LIB_OPT_LEVEL="-O3"
export LIB_FPIC="-fPIC"

View File

@ -2,7 +2,7 @@ export JAVA_DIR=/usr/lib/jvm/java-7-openjdk-amd64
[ -z "$DEP_DIR" ] && export DEP_DIR=$HOME/linux
export PLATFORM=linux
export DEBUG_BUILD=1
export OTHER_COMPILER_FLAGS="-g -Wno-unused-local-typedefs -pthread"
export OTHER_COMPILER_FLAGS="-g -Wno-unused-local-typedefs -Wno-unused-variable -Wno-shift-count-overflow -pthread"
export CXX_COMPILER_FLAGS="-std=c++11"
export LIB_OPT_LEVEL="-O0"
export LIB_FPIC="-fPIC"