grub2/0178-bootstrap.conf-don-t-clobber-AM_CFLAGS-here.patch
Petr Šabata 100e37f2e6 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/grub2#f7e054f3d693af43a903faf33b70673f7aca4508
2020-10-15 09:48:35 +02:00

24 lines
704 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Peter Jones <pjones@redhat.com>
Date: Mon, 29 Jul 2019 14:02:11 -0400
Subject: [PATCH] bootstrap.conf: don't clobber AM_CFLAGS here
---
bootstrap.conf | 3 ---
1 file changed, 3 deletions(-)
diff --git a/bootstrap.conf b/bootstrap.conf
index 24ea40b2fc5..274c55a5568 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -84,9 +84,6 @@ cp -a INSTALL INSTALL.grub
bootstrap_post_import_hook () {
set -e
- for flagvar in CPPFLAGS CFLAGS; do
- sed -i -e "s/^AM_$flagvar =/AM_$flagvar = \$(HOST_$flagvar)/" grub-core/lib/gnulib/Makefile.am
- done
FROM_BOOTSTRAP=1 ./autogen.sh
set +e # bootstrap expects this
}