build: do not _FORTIFY_SOURCE in debug mode 84/30884/3
authorMohammed Hawari <mohammed@hawari.fr>
Fri, 22 Jan 2021 13:30:56 +0000 (14:30 +0100)
committerNeale Ranns <neale@graphiant.com>
Thu, 28 Jan 2021 08:38:21 +0000 (08:38 +0000)
When compiling in -O0, the glibc feature.h ignores _FORTIFY_SOURCE and,
in some distributions, throws a #warning, which fails the build. This
patch removes -D_FORTIFY_SOURCE in all debug configurations.

Change-Id: Ic30229c038353e49ff9419779e082a7083c1ea5f
Type: fix
Signed-off-by: Mohammed Hawari <mohammed@hawari.fr>

No differences found