Package: pdb2pqr / 2.1.1+dfsg-2

fix_hardening_no_relro Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Author: Tatiana Malygina <merlettaia@gmail.com>
Last-Update: 2016-06-14
Description: this fix prevents hardening-no-relro warning from appearing during
 lintian run
 
--- a/SConscript-main.py
+++ b/SConscript-main.py
@@ -100,6 +100,9 @@
 if env['EXTRA_LINKFLAGS']:
     env.Append(LINKFLAGS = [env['EXTRA_LINKFLAGS']])
 
+if 'LDFLAGS' in os.environ:
+    env.Append(LINKFLAGS = os.environ['LDFLAGS'])
+    
 if os.name == 'nt':
     #Check to see if we are running in a virtualenv
     if hasattr(sys, 'real_prefix'):