1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-22 11:09:46 +01:00

Fix typo in OpenSSL build script, propperly add hardening flags

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
David Oberhollenzer 2019-01-14 09:05:41 +01:00
parent f34878ac01
commit 98bbfad989

View file

@ -14,7 +14,7 @@ build() {
local cflags="-O2 -Os"
local ldflags=""
if [ "x$TC_HARDENING" = "yes" ]; then
if [ "x$TC_HARDENING" = "xyes" ]; then
cflags="$cflags -fstack-protector-all"
ldflags="$ldflags -z noexecstack -z relro -z now"
fi