tools lib symbol: Use -D_FORTIFY_SOURCE=2 for non-debug builds
authorUwe Kleine-König <ukleinek@debian.org>
Mon, 24 Apr 2023 10:28:27 +0000 (12:28 +0200)
committerSalvatore Bonaccorso <carnil@debian.org>
Fri, 25 Apr 2025 15:07:45 +0000 (17:07 +0200)
commita1018cd082ab03337b723f82c97931417a174611
tree98015f7dc78b17abc4b16ae59d30f7eda6cfe3a9
parent07c2c429fa9b5617861e62b8e714aa7cee65fb76
tools lib symbol: Use -D_FORTIFY_SOURCE=2 for non-debug builds

Forwarded: https://lore.kernel.org/all/20230424102827.58707-1-ukleinek@debian.org/

Commit 160be157eaba ("tool lib symbol: Add Makefile/Build") failed to
define _FORTIFY_SOURCE to 2, probabaly this was cut&pasted from other
Makefiles with the same problem.

Fixes: 160be157eaba ("tool lib symbol: Add Makefile/Build")
Signed-off-by: Uwe Kleine-König <ukleinek@debian.org>
Acked-by: Ian Rogers <irogers@google.com>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name tools_lib_symbol_use_d_fortify_source_2_for_non_debug_builds.patch
tools/lib/symbol/Makefile