0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-19 19:52:15 +02:00
Commit Graph

5 Commits

Author SHA1 Message Date
Frank Lichtenheld
8bafab1ebb OVPN3-800 build: enable LTO by default on linux
No need to set LTO flag.
2021-10-20 19:53:38 +02:00
Frank Lichtenheld
9c520dff14 OVPN3-800 build: re-enable -flto for linux deps
lz4 and mbedtls are currently the only deps
that are built for linux (asio and xxHash
are only copied, not built).

If LTO flag is specified (which is a variable
already supported by scrips/build) and target
is linux then enable -flto but allow to
speficy a random-seed to allow reproducibility.
2021-10-19 14:24:34 +02:00
Lev Stipakov
cfd6df5bc2 build system: fix 'git apply'
When 'git apply' is run inside repository folder, it ignores files
missing in index. To make it work, run 'git apply' outside of repository.

Signed-off-by: Lev Stipakov <lev@openvpn.net>
2018-04-19 11:11:39 +03:00
Antonio Quartulli
fa872c4ffa
[OVPN3-146] build: switch from sha256sum to shasum -a 256
Apparently sha256sum is not available on macOS.
To allow users to properly use our build system on this platform
we need to migrate to something available on macOS too.

Change the sha256sum invocation to shasum -a 256.

The output of both commands is the same.

Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
2018-02-04 16:55:12 +08:00
Antonio Quartulli
06d23eccc2 [OVPN3-129] build-system: let scripts download dependencies
With this change a dep build script will now download
the related tarball automatically if not already present.

This way, we ensure that the core is built with the dep
package version specified in lib-versions.

After finding or downloading a tarball, its checksum is
computed and compared with the one in lib-versions to
ensure that the file is the expected one.

This logic has been applied to asio, mbedtls and lz4.

Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
2017-12-22 17:59:39 +08:00