0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 12:12:15 +02:00
openvpn3/vars-osx64-dbg
James Yonan df860644e8 Built ovpn3 cli tool on Linux (gcc 4.8.2) with some
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.
2014-07-28 12:08:49 -06:00

12 lines
328 B
Plaintext

export PLATFORM=osx-dbg
export DEP_DIR=$HOME/src/mac
export APPLE_FAMILY=1
export DEBUG_BUILD=1
export GPP_CMD=clang++
export GCC_CMD=clang
export MIN_DEPLOY_TARGET="-mmacosx-version-min=10.6"
export PLATFORM_FLAGS="-arch x86_64 $MIN_DEPLOY_TARGET"
export OTHER_COMPILER_FLAGS="-g"
export LIB_OPT_LEVEL="-O0"
export LIB_FPIC=""