Package: libjogl2-java / 2.5.0+dfsg-3.1

hardening.patch Patch series | 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
@@ -1637,9 +1637,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}" 
@@ -1778,11 +1780,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
@@ -983,11 +983,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
@@ -1049,11 +1049,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>