Makefile: false positive on _FORTIFY_SOURCE
authorRobin H. Johnson <robbat2@gentoo.org>
Wed, 3 Feb 2016 16:19:52 +0000 (08:19 -0800)
committerRobin H. Johnson <robbat2@gentoo.org>
Wed, 3 Feb 2016 16:19:52 +0000 (08:19 -0800)
commita8b412146efdaa79adaa766dd192512bf2178ce7
tree164ac56bfb090d377b9db362d7157ea7bb9cd5a2
parent3bb85e8443d626ee71a4126dbe6ebcaf751527f1
Makefile: false positive on _FORTIFY_SOURCE

If the compiler is very pedantic and includes _FORTIFY_SOURCE, then you
get the following warning about redefinition:
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined

To prevent it, undefine and redefine _FORTIFY_SOURCE.

Gentoo's gcc does this for -O2.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Makefile