hardening: Tiny reindent
This commit is contained in:
parent
2364c22ec9
commit
21818ae592
@ -34,7 +34,7 @@ if (( "${NIX_DEBUG:-0}" >= 1 )); then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for flag in "${!hardeningEnableMap[@]}"; do
|
for flag in "${!hardeningEnableMap[@]}"; do
|
||||||
case $flag in
|
case $flag in
|
||||||
pie)
|
pie)
|
||||||
if [[ ! ("$*" =~ " -shared " || "$*" =~ " -static ") ]]; then
|
if [[ ! ("$*" =~ " -shared " || "$*" =~ " -static ") ]]; then
|
||||||
@ -55,4 +55,4 @@ fi
|
|||||||
# tool supports each flag.
|
# tool supports each flag.
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
@ -34,7 +34,7 @@ if (( "${NIX_DEBUG:-0}" >= 1 )); then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for flag in "${!hardeningEnableMap[@]}"; do
|
for flag in "${!hardeningEnableMap[@]}"; do
|
||||||
case $flag in
|
case $flag in
|
||||||
fortify)
|
fortify)
|
||||||
if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling fortify >&2; fi
|
if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling fortify >&2; fi
|
||||||
@ -69,4 +69,4 @@ fi
|
|||||||
# tool supports each flag.
|
# tool supports each flag.
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user