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>
Tue, 12 Aug 2025 03:28:04 +0000 (05:28 +0200)
commitadac76f6f986442407d6b381ff459bf30b7fe6a6
treef69af3847b0deb86179f9f248780ec97fa8f9a7d
parent7fd5c551f916dfbbcc5b4ac7d373959ebcb4506c
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