diff options
-rw-r--r-- | python-lmdb.spec | 1 |
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 |