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:
parent
f34878ac01
commit
98bbfad989
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue