build: avoid a compiler warning about _FORTIFY_SOURCE redefinition
commit4f206f079ab908fa0182983169b589a2e27930a0
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 29 Apr 2023 08:10:05 +0000 (29 11:10 +0300)
committerJim Meyering <meyering@meta.com>
Sun, 30 Apr 2023 13:59:11 +0000 (30 06:59 -0700)
tree20c439eb5cc64c39490a922031b7ac9d9c4d601d
parentec92e4cb8696aee71f86271ee6c35abf9c9e401f
build: avoid a compiler warning about _FORTIFY_SOURCE redefinition

When compiler provides its own definition of _FORTIFY_SOURCE, it complains
about _FORTIFY_SOURCE being redefined:

./lib/config.h:35: error: "_FORTIFY_SOURCE" redefined [-Werror]
   35 |    # define _FORTIFY_SOURCE 2
      |
<built-in>: note: this is the location of the previous definition

* configure.ac (FORTIFY_SOURCE): Do not redefine _FORTIFY_SOURCE.
configure.ac