multimedia/winff: Add hardening flags.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Vijay Marcel 2024-01-24 09:03:02 +07:00 committed by Willy Sudiarto Raharjo
parent fb71107f3c
commit af93bb0972
3 changed files with 7 additions and 2 deletions

View file

@ -105,3 +105,8 @@ a patch for these issue feel free to send it to me.
11/01/2024:
Upgraded to the latest git commit 31b79e3.
22/01/2024:
Added -pie and -zdefs hardening flags to linker.
Bumped the build no.

View file

@ -26,7 +26,7 @@
<Options>
<PassLinkerOptions Value="True"/>
- <LinkerOptions Value="--as-needed"/>
+ <LinkerOptions Value="--as-needed -zrelro -znow"/>
+ <LinkerOptions Value="--as-needed -zrelro -znow -zdefs -pie"/>
<Win32>
<GraphicApplication Value="True"/>
</Win32>

View file

@ -33,7 +33,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=winff
VERSION=${VERSION:-20231003_31b79e3}
LONGNAM=${LONGNAM:-31b79e3aab5172dfeda874471debc31b09bedb2d}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}