1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-21 10:09:57 +01:00

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)
This commit is contained in:
Werner Koch 2024-10-15 10:42:06 +02:00
parent 18081e2ecf
commit 39aa206dc5
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -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 :=