diff options
author | Ian Rogers <[email protected]> | 2019-09-25 12:59:23 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-09-27 09:26:14 -0300 |
commit | 4b0b2b096da9d296e0e5668cdfba8613bd6f5bc8 (patch) | |
tree | 264b82fa99068f3fe481d364cd4e732afc9f6691 /tools/perf/scripts/python/check-perf-trace.py | |
parent | da05b5ea12c1e50b2988a63470d6b69434796f8b (diff) |
libsubcmd: Make _FORTIFY_SOURCE defines dependent on the feature
Unconditionally defining _FORTIFY_SOURCE can break tools that don't work
with it, such as memory sanitizers:
https://github.com/google/sanitizers/wiki/AddressSanitizer#faq
Fixes: 4b6ab94eabe4 ("perf subcmd: Create subcmd library")
Signed-off-by: Ian Rogers <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions