[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: grub-efi: Enable the stack protector.
From: |
guix-commits |
Subject: |
02/02: gnu: grub-efi: Enable the stack protector. |
Date: |
Sat, 12 Jun 2021 14:59:51 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 018f95094153660e3041ec160718f0bda286a3dc
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Fri Jun 11 02:21:27 2021 +0200
gnu: grub-efi: Enable the stack protector.
* gnu/packages/bootloaders.scm (grub-efi)[arguments]:
Add "--enable-stack-protector" to #:configure-flags.
---
gnu/packages/bootloaders.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index 79ea9ea..0c10daf 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