diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-11 08:28:00 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-11 08:28:00 +0000 |
commit | 3565071f226432336a54d0193d729fa4508a3394 (patch) | |
tree | 4cde13f078f84c0a7785d234fd52edce7c90546a /debian/patches/bugfix/all/tools_lib_symbol_use_d_fortify_source_2_for_non_debug_builds.patch | |
parent | Adding upstream version 6.6.15. (diff) | |
download | linux-3565071f226432336a54d0193d729fa4508a3394.tar.xz linux-3565071f226432336a54d0193d729fa4508a3394.zip |
Adding debian version 6.6.15-2.debian/6.6.15-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/bugfix/all/tools_lib_symbol_use_d_fortify_source_2_for_non_debug_builds.patch')
-rw-r--r-- | debian/patches/bugfix/all/tools_lib_symbol_use_d_fortify_source_2_for_non_debug_builds.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/debian/patches/bugfix/all/tools_lib_symbol_use_d_fortify_source_2_for_non_debug_builds.patch b/debian/patches/bugfix/all/tools_lib_symbol_use_d_fortify_source_2_for_non_debug_builds.patch new file mode 100644 index 000000000..966252041 --- /dev/null +++ b/debian/patches/bugfix/all/tools_lib_symbol_use_d_fortify_source_2_for_non_debug_builds.patch @@ -0,0 +1,31 @@ +From: Uwe Kleine-König <ukleinek@debian.org> +Subject: tools lib symbol: Use -D_FORTIFY_SOURCE=2 for non-debug builds +Date: Mon, 24 Apr 2023 12:28:27 +0200 +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> +--- + tools/lib/symbol/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/lib/symbol/Makefile b/tools/lib/symbol/Makefile +index 13d43c6f92b4..4a08cc4e19f2 100644 +--- a/tools/lib/symbol/Makefile ++++ b/tools/lib/symbol/Makefile +@@ -39,7 +39,7 @@ endif + endif + + ifeq ($(DEBUG),0) +- CFLAGS += -D_FORTIFY_SOURCE ++ CFLAGS += -D_FORTIFY_SOURCE=2 + endif + + # Treat warnings as errors unless directed not to +-- +2.39.2 |