forked from pool/peazip
477614cfe8
BACKEND: * Pea 1.11. CODE: * Fixes, clean up of legacy code. * Improved speed and memory usage. FILE MANAGER: * GUI better adapts to size and preference changes. * Selecting one of the available tool bars (archive manager, file manager, image manager) restores its visibility if the Tool bar is hidden. EXTRACTION and ARCHIVING: * Added new options for 7z/p7zip backend. * Improved support for TAR format, and for formats used in combination with TAR. * Improved support for ZPAQ and *PAQ formats. * Updated compression preset scripts. * Updated plugin for PeaZip. - Rebase all patches. OBS-URL: https://build.opensuse.org/package/show/devel:languages:pascal/peazip?expand=0&rev=106
34 lines
1.1 KiB
Diff
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-9.0.0.src/dev/project_pea.lpi
|
|
===================================================================
|
|
--- peazip-9.0.0.src.orig/dev/project_pea.lpi
|
|
+++ peazip-9.0.0.src/dev/project_pea.lpi
|
|
@@ -556,6 +556,8 @@
|
|
<DebugInfoType Value="dsDwarf3"/>
|
|
</Debugging>
|
|
<Options>
|
|
+ <PassLinkerOptions Value="True"/>
|
|
+ <LinkerOptions Value="-pie"/>
|
|
<Win32>
|
|
<GraphicApplication Value="True"/>
|
|
</Win32>
|
|
Index: peazip-9.0.0.src/dev/project_peach.lpi
|
|
===================================================================
|
|
--- peazip-9.0.0.src.orig/dev/project_peach.lpi
|
|
+++ peazip-9.0.0.src/dev/project_peach.lpi
|
|
@@ -1604,6 +1604,8 @@
|
|
<GenerateDebugInfo Value="False"/>
|
|
</Debugging>
|
|
<Options>
|
|
+ <PassLinkerOptions Value="True"/>
|
|
+ <LinkerOptions Value="-pie"/>
|
|
<Win32>
|
|
<GraphicApplication Value="True"/>
|
|
</Win32>
|