aboutsummaryrefslogtreecommitdiff
path: root/reproduce/src/make
diff options
context:
space:
mode:
Diffstat (limited to 'reproduce/src/make')
-rw-r--r--reproduce/src/make/dependencies-basic.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/reproduce/src/make/dependencies-basic.mk b/reproduce/src/make/dependencies-basic.mk
index 184d089..ebe7551 100644
--- a/reproduce/src/make/dependencies-basic.mk
+++ b/reproduce/src/make/dependencies-basic.mk
@@ -342,6 +342,13 @@ $(ilidir)/ncurses: $(tdir)/ncurses-$(ncurses-version).tar.gz \
# the build process completed afterwards and reset the links).
rm -f $(ildir)/libncursesw*
+ # Delete the (possibly existing) low-level programs that depend on
+ # `readline', and thus `ncurses'. Since these programs are actually
+ # used during the building of `ncurses', we need to delete them so
+ # the build process doesn't use the pipeline's Bash and AWK, but
+ # the host systems.
+ rm -f $(ibdir)/bash* $(ibdir)/awk* $(ibdir)/gawk*
+
# Standard build process.
$(call gbuild, $<, ncurses-$(ncurses-version), static, \
--with-shared --enable-rpath --without-normal \