File: hardening.patch

package info (click to toggle)
gluegen2 2.6.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,320 kB
  • sloc: java: 55,357; ansic: 3,758; xml: 3,328; sh: 1,565; pascal: 591; asm: 162; makefile: 76
file content (26 lines) | stat: -rw-r--r-- 767 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: nsuring proper hardening by spreading LDFLAGS
Author: Pierre Gruet <pgt@debian.org>
Forwarded: not-needed
Last-Update: 2023-03-19

--- a/make/build.xml
+++ b/make/build.xml
@@ -533,6 +533,7 @@
         </fileset>
 
         <compiler extends="${compiler.cfg.id}" >
+          #COMPILER_ARGS#
           <sysincludepath path="${java.includes.dir}"/>
           <sysincludepath path="${java.includes.dir.platform}"/>
           <sysincludepath path="${stub.includes.dir}/platform"/>
@@ -544,7 +545,9 @@
           <includepath path="${src.generated.c}/Windows" if="isWindows"/>
         </compiler>
 
-        <linker extends="${linker.cfg.id}" />
+        <linker extends="${linker.cfg.id}">
+            #LINKER_ARGS#
+        </linker>
 
       </cc>