gnu: grub-efi: Enable the stack protector.
* gnu/packages/bootloaders.scm (grub-efi)[arguments]: Add "--enable-stack-protector" to #:configure-flags.
This commit is contained in:
parent
2d115ea7ed
commit
018f950941
1 changed files with 3 additions and 1 deletions
|
@ -294,7 +294,9 @@ menu to select one of the installed operating systems.")
|
||||||
,@(substitute-keyword-arguments (package-arguments grub)
|
,@(substitute-keyword-arguments (package-arguments grub)
|
||||||
((#:tests? _ #f) #f)
|
((#:tests? _ #f) #f)
|
||||||
((#:configure-flags flags ''())
|
((#:configure-flags flags ''())
|
||||||
`(cons "--with-platform=efi" ,flags))
|
`(cons* "--with-platform=efi"
|
||||||
|
"--enable-stack-protector" ; EFI-only for now
|
||||||
|
,flags))
|
||||||
((#:phases phases)
|
((#:phases phases)
|
||||||
`(modify-phases ,phases
|
`(modify-phases ,phases
|
||||||
(add-after 'patch-stuff 'use-absolute-efibootmgr-path
|
(add-after 'patch-stuff 'use-absolute-efibootmgr-path
|
||||||
|
|
Reference in a new issue