diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-21 08:44:50 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-21 08:44:50 +0000 |
commit | 2e312f4001c27e25bc432546aeb7a68c0b98cbe0 (patch) | |
tree | 988d44f3d3dd0adc383d94825eafb1487f950470 /0002-add-secure-compile-fs-check-in-Makefile.patch | |
parent | e6b69cb13b95a6aa4fb51d2a0baa7ad1acc7ff58 (diff) |
automatic import of protobufopeneuler23.03openeuler22.09openeuler20.03
Diffstat (limited to '0002-add-secure-compile-fs-check-in-Makefile.patch')
-rw-r--r-- | 0002-add-secure-compile-fs-check-in-Makefile.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/0002-add-secure-compile-fs-check-in-Makefile.patch b/0002-add-secure-compile-fs-check-in-Makefile.patch new file mode 100644 index 0000000..9a5ff52 --- /dev/null +++ b/0002-add-secure-compile-fs-check-in-Makefile.patch @@ -0,0 +1,26 @@ +From dddceb14106499f9fca17e75cdce458a205b102c Mon Sep 17 00:00:00 2001 +From: haozi007 <liuhao27@huawei.com> +Date: Sat, 20 Feb 2021 16:52:15 +0800 +Subject: [PATCH] add secure compile fs check in Makefile + +Signed-off-by: haozi007 <liuhao27@huawei.com> +--- + src/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/Makefile.am b/src/Makefile.am +index 9b7053b..e447b05 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -19,7 +19,7 @@ PTHREAD_DEF = + endif + + PROTOBUF_VERSION = 25:0:0 +-PROTOBUF_OPT_FLAG += -Wl,-z,now ++PROTOBUF_OPT_FLAG += -Wl,-z,now -fstack-check + + if GCC + # Turn on all warnings except for sign comparison (we ignore sign comparison +-- +2.25.1 + |