aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorohfp <1813007-ohfp@users.noreply.gitlab.com>2020-03-30 21:57:33 +0200
committerohfp <1813007-ohfp@users.noreply.gitlab.com>2020-03-30 21:57:33 +0200
commit154607e95c38c5dfe234d01ad8973314df818d4b (patch)
tree16c1db20cbbab82c739428154e95d00547e829f9
parentreally fix shared-modules path (diff)
downloadlibrewolf-linux-154607e95c38c5dfe234d01ad8973314df818d4b.tar.gz
librewolf-linux-154607e95c38c5dfe234d01ad8973314df818d4b.tar.bz2
librewolf-linux-154607e95c38c5dfe234d01ad8973314df818d4b.zip
export hardening variables
-rwxr-xr-xbinary_tarball/scripts/4_Build_Binary_Tarball.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/binary_tarball/scripts/4_Build_Binary_Tarball.sh b/binary_tarball/scripts/4_Build_Binary_Tarball.sh
index 43559ca..6f4aa22 100755
--- a/binary_tarball/scripts/4_Build_Binary_Tarball.sh
+++ b/binary_tarball/scripts/4_Build_Binary_Tarball.sh
@@ -7,7 +7,11 @@ OUTPUT_TARBALL=$2;
CI_PROJECT_DIR=${CI_PROJECT_DIR:-$(realpath $(dirname $0)/../../)}
_SOURCE_CODE_BINARY_TARBALL_LOCATION="./obj*/dist/librewolf*.tar.bz2";
_MOZBUILD=$srcdir/../mozbuild
-DEB_BUILD_HARDENING=1
+export DEB_BUILD_HARDENING=1
+export DEB_BUILD_HARDENING_STACKPROTECTOR=1
+export DEB_BUILD_HARDENING_FORTIFY=1
+export DEB_BUILD_HARDENING_FORMAT=1
+export DEB_BUILD_HARDENING_PIE=1
# export PATH=/usr/lib/nasm-mozilla/bin:$PATH
# we do change / unset some of them later, but setting them as set by Arch
bgstack15