]> git.baikalelectronics.ru Git - kernel.git/commit
perf build: Avoid defining _FORTIFY_SOURCE multiple times
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 20 Jul 2022 16:21:45 +0000 (13:21 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 20 Jul 2022 16:21:45 +0000 (13:21 -0300)
commita56b4e3d3696be1955dd3746882291f2917e926a
treed4e39fda69295006376c3534985304cbdb669dcd
parentfcb5768be55df7b469029928039080698c88ba4f
perf build: Avoid defining _FORTIFY_SOURCE multiple times

One in perf's CFLAGS and the other in the distro python binding
scripts.

So if use the usual technique of first -D_FORTIFY_SOURCE then -D it.

Noticed with:

opensuse tumbleweed:

  gcc version 12.1.1 20220629 [revision 7811663964aa7e31c3939b859bbfa2e16919639f] (SUSE Linux)

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.config