SHA256
1
0
forked from pool/peazip
peazip/peazip-build_PIE.patch
Luigi Baldoni 550c116ab5 Accepting request 673143 from home:alois:branches:devel:languages:pascal
- Update to version 6.7.0
  * Several improvements and fixes
  * Multiple archiving and extraction tasks are now preformed
    in a single, more streamlined GUI instance, providing
    information and progress bars for current task and for
    overall process.
- Refreshed peazip-build_PIE.patch, peazip-help_path.patch and
  peazip-debuginfo.patch

OBS-URL: https://build.opensuse.org/request/show/673143
OBS-URL: https://build.opensuse.org/package/show/devel:languages:pascal/peazip?expand=0&rev=42
2019-02-10 13:19:46 +00:00

34 lines
1.1 KiB
Diff

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.
Index: peazip-6.7.0.src/project_pea.lpi
===================================================================
--- peazip-6.7.0.src.orig/project_pea.lpi
+++ peazip-6.7.0.src/project_pea.lpi
@@ -485,6 +485,8 @@
<GenerateDebugInfo Value="False"/>
</Debugging>
<Options>
+ <PassLinkerOptions Value="True"/>
+ <LinkerOptions Value="-pie"/>
<Win32>
<GraphicApplication Value="True"/>
</Win32>
Index: peazip-6.7.0.src/project_peach.lpi
===================================================================
--- peazip-6.7.0.src.orig/project_peach.lpi
+++ peazip-6.7.0.src/project_peach.lpi
@@ -1380,6 +1380,8 @@
<GenerateDebugInfo Value="False"/>
</Debugging>
<Options>
+ <PassLinkerOptions Value="True"/>
+ <LinkerOptions Value="-pie"/>
<Win32>
<GraphicApplication Value="True"/>
</Win32>