summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-29 07:39:25 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-29 07:39:25 +0000
commit5658aee871ceaf140565117905d42c1a1fed0298 (patch)
treef50463898a6cb0c2b55cbbcf84bf7663be8e2bf7
parent355aa4457b40c7395791bf519b3724f7855e3659 (diff)
automatic import of python-lmdbopeneuler24.03_LTS
-rw-r--r--python-lmdb.spec1
1 files changed, 1 insertions, 0 deletions
diff --git a/python-lmdb.spec b/python-lmdb.spec
index 19647f8..9bb5909 100644
--- a/python-lmdb.spec
+++ b/python-lmdb.spec
@@ -30,6 +30,7 @@ Universal Python binding for the LMDB 'Lightning' Database
%autosetup -n lmdb-%{version}
%build
+export LDFLAGS="-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld"
%py3_build
%install