From 154607e95c38c5dfe234d01ad8973314df818d4b Mon Sep 17 00:00:00 2001 From: ohfp <1813007-ohfp@users.noreply.gitlab.com> Date: Mon, 30 Mar 2020 21:57:33 +0200 Subject: export hardening variables --- binary_tarball/scripts/4_Build_Binary_Tarball.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit