diff options
author | Werner Koch <[email protected]> | 2024-10-15 08:42:06 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-10-29 12:45:14 +0000 |
commit | 39aa206dc51d1d90e301a3b19a0b549b811f0cd2 (patch) | |
tree | 13e95785b91d7a962e4f44596e56d527b6cf9bb2 /build-aux | |
parent | gpgsm: Terminate key listing on output write error. (diff) | |
download | gnupg-39aa206dc51d1d90e301a3b19a0b549b811f0cd2.tar.gz gnupg-39aa206dc51d1d90e301a3b19a0b549b811f0cd2.zip |
speedo: Enable additional runtime protections on Windows.
* build-aux/speedo.mk (speedo_w32_cflags): Remove -mms-bitfields
because it is for a long time the gcc default. Enable control flow
protection.
--
Note that due to mingw static linking problems with libssp the stack
protector is not yet enabled.
(cherry picked from commit afe87ffc08e14317f4ef5bbe2940d07203a43808)
Diffstat (limited to 'build-aux')
-rw-r--r-- | build-aux/speedo.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/speedo.mk b/build-aux/speedo.mk index b887c506a..545a28f22 100644 --- a/build-aux/speedo.mk +++ b/build-aux/speedo.mk @@ -702,7 +702,7 @@ ifeq ($(TARGETOS),w32) --build-w64) speedo_host_build_option := --host=$(host) --build=$(build) speedo_host_build_option6 := --host=$(host6) --build=$(build) - speedo_w32_cflags := -mms-bitfields + speedo_w32_cflags := -fcf-protection=full else speedo_autogen_buildopt := host := |