Don't define _FORTIFY_SOURCE on MinGW
authorChristian Biesinger <cbiesinger@google.com>
Wed, 18 Dec 2019 18:06:43 +0000 (12:06 -0600)
committerChristian Biesinger <cbiesinger@google.com>
Thu, 9 Jan 2020 22:31:00 +0000 (16:31 -0600)
Recent MinGW versions require -lssp when using _FORTIFY_SOURCE, which
gdb does (in common-defs.h)
https://github.com/msys2/MINGW-packages/issues/5868#issuecomment-544107564

To avoid all the complications with checking for -lssp and making sure it's
linked statically, just don't define it.

gdb/ChangeLog:

2020-01-09  Christian Biesinger  <cbiesinger@google.com>

* gdbsupport/common-defs.h: Don't define _FORTIFY_SOURCE on MinGW.

Change-Id: Ide6870ab57198219a2ef78bc675768a789ca2b1d


No differences found
This page took 0.024981 seconds and 4 git commands to generate.