mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-12 11:19:08 -05:00
guix: build GCC with --enable-standard-branch-protection
To enable Branch Target Identification Mechanism and Return Address Signing by default at configure time use the `--enable-standard-branch-protection` option. This is equivalent to having `-mbranch-protection=standard` during compilation. This can be explicitly disabled during compilation by passing the `-mbranch-protection=none` option which turns off all types of branch protections. See: https://gcc.gnu.org/install/specific.html#aarch64-x-x
This commit is contained in:
parent
71b63195b3
commit
7850c5fe20
1 changed files with 1 additions and 0 deletions
|
@ -423,6 +423,7 @@ inspecting signatures in Mach-O binaries.")
|
||||||
(list "--enable-initfini-array=yes",
|
(list "--enable-initfini-array=yes",
|
||||||
"--enable-default-ssp=yes",
|
"--enable-default-ssp=yes",
|
||||||
"--enable-default-pie=yes",
|
"--enable-default-pie=yes",
|
||||||
|
"--enable-standard-branch-protection=yes",
|
||||||
building-on)))
|
building-on)))
|
||||||
((#:phases phases)
|
((#:phases phases)
|
||||||
`(modify-phases ,phases
|
`(modify-phases ,phases
|
||||||
|
|
Loading…
Add table
Reference in a new issue