1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19: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.
This commit is contained in:
Werner Koch 2024-10-15 10:42:06 +02:00
parent a8b503c42b
commit afe87ffc08
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

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