Blob Blame History Raw
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
 }