Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Florian Franzmann (bcebf4489de0b2a5e2578ddf6768195a4f9fc2c7)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Florian Franzmann <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Florian Franzmann (bcebf4489de0b2a5e2578ddf6768195a4f9fc2c7)
  • Date: Fri, 10 Jun 2022 23:27:45 +0000

GIT changes to master grimoire by Florian Franzmann <bwlf AT bandrate.org>:

disk/grub2/BUILD | 4 +++-
disk/grub2/HISTORY | 3 +++
2 files changed, 6 insertions(+), 1 deletion(-)

New commits:
commit bcebf4489de0b2a5e2578ddf6768195a4f9fc2c7
Author: Florian Franzmann <bwlf AT bandrate.org>
Commit: Florian Franzmann <bwlf AT bandrate.org>

disk/grub2: only activate stack protection on x86_64 efi

diff --git a/disk/grub2/BUILD b/disk/grub2/BUILD
index 391d6cd..07b6065 100755
--- a/disk/grub2/BUILD
+++ b/disk/grub2/BUILD
@@ -11,7 +11,9 @@ LDFLAGS=${LDFLAGS//-Wl,-fuse-ld=gold/} &&
LDFLAGS+=" -Wl,-fuse-ld=bfd" &&

# let the build system handle stack protector
-OPTS+=" --enable-stack-protector" &&
+if [[ "${GRUB2_PLATFORM}" == "efi/x86_64" ]]; then
+ OPTS+=" --enable-stack-protector"
+fi &&
disable_stack_protector &&

disable_fortify_source &&
diff --git a/disk/grub2/HISTORY b/disk/grub2/HISTORY
index 8214c7c..c0cf80d 100644
--- a/disk/grub2/HISTORY
+++ b/disk/grub2/HISTORY
@@ -1,3 +1,6 @@
+2022-06-10 Florian Franzmann <bwlf AT bandrate.org>
+ * BUILD: only activate stack protection on x86_64 efi
+
2022-05-21 Florian Franzmann <bwlf AT bandrate.org>
* BUILD: filter breaking CFLAGS and CPPFLAGS
* DEPENDS: add optional dependency on LZMA



  • [SM-Commit] GIT changes to master grimoire by Florian Franzmann (bcebf4489de0b2a5e2578ddf6768195a4f9fc2c7), Florian Franzmann, 06/10/2022

Archive powered by MHonArc 2.6.24.

Top of Page