2018-02-13 18:45:23 +01:00
|
|
|
From: Luigi Baldoni <aloisio@gmx.com>
|
|
|
|
Date: 2018-02-11 13:31:28 +0100
|
|
|
|
Subject: Build PIE binaries
|
|
|
|
|
|
|
|
Set lazarus project files so that we produce position
|
|
|
|
independent executables.
|
|
|
|
|
2022-04-14 10:55:05 +02:00
|
|
|
Index: peazip-8.6.0.src/project_pea.lpi
|
2018-02-13 18:45:23 +01:00
|
|
|
===================================================================
|
2022-04-14 10:55:05 +02:00
|
|
|
--- peazip-8.6.0.src.orig/project_pea.lpi
|
|
|
|
+++ peazip-8.6.0.src/project_pea.lpi
|
|
|
|
@@ -552,6 +552,8 @@
|
|
|
|
<DebugInfoType Value="dsDwarf3"/>
|
2018-02-13 18:45:23 +01:00
|
|
|
</Debugging>
|
|
|
|
<Options>
|
|
|
|
+ <PassLinkerOptions Value="True"/>
|
|
|
|
+ <LinkerOptions Value="-pie"/>
|
|
|
|
<Win32>
|
|
|
|
<GraphicApplication Value="True"/>
|
|
|
|
</Win32>
|
2022-04-14 10:55:05 +02:00
|
|
|
Index: peazip-8.6.0.src/project_peach.lpi
|
2018-02-13 18:45:23 +01:00
|
|
|
===================================================================
|
2022-04-14 10:55:05 +02:00
|
|
|
--- peazip-8.6.0.src.orig/project_peach.lpi
|
|
|
|
+++ peazip-8.6.0.src/project_peach.lpi
|
|
|
|
@@ -1591,6 +1591,8 @@
|
2018-02-13 18:45:23 +01:00
|
|
|
<GenerateDebugInfo Value="False"/>
|
|
|
|
</Debugging>
|
|
|
|
<Options>
|
|
|
|
+ <PassLinkerOptions Value="True"/>
|
|
|
|
+ <LinkerOptions Value="-pie"/>
|
|
|
|
<Win32>
|
|
|
|
<GraphicApplication Value="True"/>
|
|
|
|
</Win32>
|