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:
Tobias Geerinckx-Rice 2021-06-11 02:21:27 +02:00
parent 2d115ea7ed
commit 018f950941
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -294,7 +294,9 @@ (define-public grub-efi
,@(substitute-keyword-arguments (package-arguments grub)
((#:tests? _ #f) #f)
((#:configure-flags flags ''())
`(cons "--with-platform=efi" ,flags))
`(cons* "--with-platform=efi"
"--enable-stack-protector" ; EFI-only for now
,flags))
((#:phases phases)
`(modify-phases ,phases
(add-after 'patch-stuff 'use-absolute-efibootmgr-path