buildtype and optimatzion is redundand

Signed-off-by: Marek Küthe <m.k@mk16.de>
This commit is contained in:
Marek Küthe 2023-01-09 15:23:51 +01:00
parent 05ebc8c7d6
commit bf0f36404e
No known key found for this signature in database
GPG Key ID: 7E869146699108C7
1 changed files with 1 additions and 2 deletions

View File

@ -23,8 +23,7 @@ meson setup fastd fastd-build -Dbuildtype=release -Db_lto=true -Dcapabilities=en
``` ```
`-Db_lto=true` activates link-time optimizations. `-Dcapabilities=enabled` enables the option that fastd can later negotiate capabilities with its peer accordingly. `-Doffload_l2tp=enabled` enables the option to later offload L2TP connections in fastd to the kernel and thus increase speed. `-Db_lto=true` activates link-time optimizations. `-Dcapabilities=enabled` enables the option that fastd can later negotiate capabilities with its peer accordingly. `-Doffload_l2tp=enabled` enables the option to later offload L2TP connections in fastd to the kernel and thus increase speed.
In addition, the `-Doptimization=3` flag can be used to perform strong optimizations. The flag `-Dmethod_cipher-test=enabled` can be used to use the `cipher-test` method in fastd. The flag `-Dmethod_cipher-test=enabled` can be used to use the `cipher-test` method in fastd.
After that you can change to the build directory and compile fastd: After that you can change to the build directory and compile fastd:
``` ```