3
0
Fork 0
forked from mirrors/nixpkgs

hardening: Tiny reindent

This commit is contained in:
John Ericson 2018-04-10 16:08:53 -04:00 committed by Charles Strahan
parent 2364c22ec9
commit 21818ae592
2 changed files with 4 additions and 4 deletions

View file

@ -34,7 +34,7 @@ if (( "${NIX_DEBUG:-0}" >= 1 )); then
fi
fi
for flag in "${!hardeningEnableMap[@]}"; do
for flag in "${!hardeningEnableMap[@]}"; do
case $flag in
pie)
if [[ ! ("$*" =~ " -shared " || "$*" =~ " -static ") ]]; then
@ -55,4 +55,4 @@ fi
# tool supports each flag.
;;
esac
done
done

View file

@ -34,7 +34,7 @@ if (( "${NIX_DEBUG:-0}" >= 1 )); then
fi
fi
for flag in "${!hardeningEnableMap[@]}"; do
for flag in "${!hardeningEnableMap[@]}"; do
case $flag in
fortify)
if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling fortify >&2; fi
@ -69,4 +69,4 @@ fi
# tool supports each flag.
;;
esac
done
done