From 34d3ede42060ae1b1c1db3cccb0a6131c8abaddf Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 20 Jun 2023 07:38:38 +0000 Subject: automatic import of protobuf --- 0001-add-secure-compile-option-in-Makefile.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 0001-add-secure-compile-option-in-Makefile.patch (limited to '0001-add-secure-compile-option-in-Makefile.patch') 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 -- cgit v1.2.3