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, 6 May 2025 19:33:52 +0000 (21:33 +0200)
commit6518c10bf2b60dc2cb1c522bae22ca8b12ecde09
tree59aac1eb21b172703f51194dec174c68b3404234
parent1f6249b4b439ee2e2818b73abb02099d5119ded1
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