Hi
Revisiting this, I've hit [1] during the ongoing toolchain upgrade, so
as I read it since we have
-Wp,-D_FORTIFY_SOURCE=2
in the cflags we'll also need -fstack-protector in the ldflags, and gcc should
take care of adding -lssp -lssp_nonshared automatically (trying this out here
[2]).
An
On Fri, 2020-05-22 at 22:25 +0200, Sandro Mani wrote:
> While looking through the mingw rpm macros, I noticed that we currently have
>
> mingw{32,64}_cflags = -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions --param=ssp-buffer-size=4
>
> whereas for native packages we have
>
> optflags