https://bugs.winehq.org/show_bug.cgi?id=48161
--- Comment #10 from Alexandre Julliard julliard@winehq.org --- Yes, CFLAGS take precedence. Don't add such flags in there.
I'm not aware of any mingw version that enables cf-protection by default, is there such a thing?