aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-10-15 08:42:06 +0000
committerWerner Koch <[email protected]>2024-10-15 11:24:57 +0000
commitafe87ffc08e14317f4ef5bbe2940d07203a43808 (patch)
tree5dfef172ae32ec4337933921b040096701c42ed7
parentgpg: Emit status error for an invalid ADSK. (diff)
downloadgnupg-afe87ffc08e14317f4ef5bbe2940d07203a43808.tar.gz
gnupg-afe87ffc08e14317f4ef5bbe2940d07203a43808.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.
-rw-r--r--build-aux/speedo.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/speedo.mk b/build-aux/speedo.mk
index 80d42d96f..cf4a816ab 100644
--- a/build-aux/speedo.mk
+++ b/build-aux/speedo.mk
@@ -699,7 +699,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 :=