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