- the OpenSSL build script for all platform, was only
used on macOS and better alternatives like homebrew exit there
- mac build scripts in general, cmake/homebrew is a better alternative
- vars for Android, Android uses CMake based build, see ics-openvpn for an example
- lzo build scripts. Core can do lzo decompress witout it and if used, system lzo can
be used
Signed-off-by: Arne Schwabe <arne@openvpn.net>
Remove the vars-osx64 and vars-iossim files which are no longer used.
The IOS simulator does not support the VPN API and builds for the
IOS simulator have not been done in a very long time nor are they
particular useful.
Also switch to pkg-config for jsoncpp by default.
Signed-off-by: Arne Schwabe <arne@openvpn.net>
ar(1) on Darwin does not support -D (deterministic) flag.
But libtool(1) does. Note that libtool(1) will sometimes
produce unified files with two ar streams instead of one
ar archive. We still need to test whether that causes
problems later.
When using libtool, ranlib is not required. For reproducible
builds it is actually harmful since ranlib -D seems buggy in
regard to the first archive member (___.SYMDEF SORTED). Replace
it with "true" instead.
This breaks reproducible builds. There is a possibility
of re-enabling it with using -frandom-seed, but that
will require changes in other places, so doing that
in a separate commit.
Also remove unused reference to LTO_FLAGS in other linux
targets. Just to avoid confusion.
The main difference between these and linux-cpp is that
linux-clang defines a different default DEP_DIR
($HOME/linux-clang) so that gcc and clang profiles can be
run on the same machine.
Signed-off-by: James Yonan <james@openvpn.net>
Also increase minimum OS version to 10.12 since the 10.8 target defaults
to libstdc++, which is not available on modern macOS versions
Signed-off-by: Arne Schwabe <arne@openvpn.net>
The newest Google Android NDK removes support for Android API 14 and 15
(Android 4.0) along with non v7a 32bit Android ABI. The new lowest
API is 16. OpenVPN Connect is already using minAPI=16 so this does
not have an effect on the main user of these build scripts.
the scripts/android/build-all script is now in charge of
performing all the steps required to build a full android core.
Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
since the introduction of the unified headers, the API level
has to be specified on the command line, otherwise a development
API level (1000) will be used and will mess up older Android
releases.
On top of that, circumvent a bug in pthread.h by defining __LP32__.
This problem was causing crashes on Android 5 as it wasn't able to
provide libc functions expected by the precompiled ovpn3-core.
Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
* Updated SDK and NDK to Android 5:
android-sdk_r24.0.2-macosx.zip
android-ndk-r10d-darwin-x86_64.bin
* Updated build-toolchain to build both ARM
and ARM64 toolchains.
* Added ARMv8-a architecture (64-bit) to all
core builds.
* Patched "Page Size" issue in boost_1_57_0.