diff options
author | CoprDistGit <infra@openeuler.org> | 2025-09-22 12:52:08 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-09-22 12:52:08 +0000 |
commit | 62193eb291a15f336c66a3e3eb1f95b94fc0d022 (patch) | |
tree | 97229163558c23c22ced9d1499e901dd68126bdf /0001-add-secure-compile-option-in-Makefile.patch | |
parent | 7572f9f90d38d06d944a23a0f5672962ae7b83b6 (diff) |
automatic import of protobuf
Diffstat (limited to '0001-add-secure-compile-option-in-Makefile.patch')
-rw-r--r-- | 0001-add-secure-compile-option-in-Makefile.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/0001-add-secure-compile-option-in-Makefile.patch b/0001-add-secure-compile-option-in-Makefile.patch new file mode 100644 index 0000000..988ba43 --- /dev/null +++ b/0001-add-secure-compile-option-in-Makefile.patch @@ -0,0 +1,12 @@ +diff --git a/src/Makefile.am b/src/Makefile.am +index f1099d9..9b7053b 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -19,6 +19,7 @@ PTHREAD_DEF = + endif + + PROTOBUF_VERSION = 25:0:0 ++PROTOBUF_OPT_FLAG += -Wl,-z,now + + if GCC + # Turn on all warnings except for sign comparison (we ignore sign comparison |