File: hardening.patch

package info (click to toggle)
libjogl2-java 2.6.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 57,484 kB
  • sloc: java: 257,713; ansic: 86,782; xml: 7,914; objc: 4,880; sh: 3,033; cpp: 139; makefile: 50; awk: 46; perl: 27
file content (65 lines) | stat: -rw-r--r-- 2,614 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Description: passing hardening flags to the cc ant task
Author: Pierre Gruet <pgt@debian.org>
Forwarded: not-needed
Last-Update: 2023-04-17

--- a/make/build-jogl.xml
+++ b/make/build-jogl.xml
@@ -1621,9 +1621,11 @@
 
                 <!-- This must come last to not override real include paths -->
                 <!-- includepath path="stub_includes/macosx" if="isOSX" / -->
+                #COMPILER_ARGS#
               </compiler>
 
               <linker extends="@{linker.cfg.id}">
+                #LINKER_ARGS#
               </linker>
             </cc>
             <gluegen.make.libsymbols builddir="${build}"
@@ -1762,11 +1764,13 @@
 
                 <!-- This must come last to not override real include paths -->
                 <!-- includepath path="stub_includes/macosx" if="isOSX" / -->
+                #COMPILER_ARGS#
               </compiler>
 
               <linker extends="@{linker.cfg.id}">
                 <syslibset dir="${java.lib.platform}" libs="jawt" if="@{output.lib.name}.useLibJAWT"/>
                 <syslibset dir="${java.lib.platform}/server" libs="jvm" if="@{output.lib.name}.useLibJVM"/>
+                #LINKER_ARGS#
               </linker>
             </cc>
 
--- a/make/build-nativewindow.xml
+++ b/make/build-nativewindow.xml
@@ -971,11 +971,13 @@
 
                 <!-- This must come last to not override real include paths -->
                 <!-- includepath path="stub_includes/macosx" if="isOSX" / -->
+                #COMPILER_ARGS#
               </compiler>
 
               <linker extends="@{linker.cfg.id}">
                 <syslibset dir="${java.lib.dir.platform}" libs="jawt" if="@{output.lib.name}.useLibJAWT"/>
                 <syslibset dir="${java.lib.dir.platform}/server" libs="jvm" if="@{output.lib.name}.useLibJVM"/>
+                #LINKER_ARGS#
               </linker>
             </cc>
 
--- a/make/build-newt.xml
+++ b/make/build-newt.xml
@@ -1025,11 +1025,13 @@
                 <includepath path="stub_includes/drm"               if="setup.addNativeDRMGBM" />
                 <!-- This must come last to not override real include paths -->
                 <!-- includepath path="stub_includes/macosx" if="isOSX" / -->
+                #COMPILER_ARGS#
               </compiler>
 
               <linker extends="@{linker.cfg.id}">
                 <syslibset dir="${java.lib.platform}" libs="jawt" if="@{output.lib.name}.useLibJAWT"/>
                 <syslibset dir="${java.lib.platform}/server" libs="jvm" if="@{output.lib.name}.useLibJVM"/>
+                #LINKER_ARGS#
               </linker>
             </cc>