diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-06-11 02:21:27 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-06-12 20:58:16 +0200 |
commit | 018f95094153660e3041ec160718f0bda286a3dc (patch) | |
tree | 52fe81198993a9d8f2c1f56a12592a4b2ef8314d /gnu | |
parent | 2d115ea7edd4d5d85df18424e1e691935184a8c8 (diff) | |
download | guix-018f95094153660e3041ec160718f0bda286a3dc.tar.gz |
gnu: grub-efi: Enable the stack protector.
* gnu/packages/bootloaders.scm (grub-efi)[arguments]: Add "--enable-stack-protector" to #:configure-flags.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/bootloaders.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index 79ea9ea345..0c10daf9ca 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -294,7 +294,9 @@ menu to select one of the installed operating systems.") ,@(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 |