[PATCH] libgloss: rs6000: fix incorrect install dir for xil files

Mike Frysinger vapier@gentoo.org
Wed Dec 14 12:56:18 GMT 2022


The install steps were missing the multilib qualifier causing them
to always install in the same location and stomp each other.
---
 libgloss/rs6000/Makefile.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libgloss/rs6000/Makefile.in b/libgloss/rs6000/Makefile.in
index 815cbd33ba39..489903645ad8 100644
--- a/libgloss/rs6000/Makefile.in
+++ b/libgloss/rs6000/Makefile.in
@@ -389,8 +389,8 @@ install-mbx:
 
 install-xil:
 	${mkinstalldirs} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}
-	set -e; for x in ${XIL_CRT0} ${XIL_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib/$$x; done
-	set -e; for x in ${XIL_SCRIPTS} ${XIL_SPECS}; do ${INSTALL_DATA} $(srcdir)/$$x $(DESTDIR)${tooldir}/lib/$$x; done
+	set -e; for x in ${XIL_CRT0} ${XIL_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
+	set -e; for x in ${XIL_SCRIPTS} ${XIL_SPECS}; do ${INSTALL_DATA} $(srcdir)/$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
 
 doc:
 info:
-- 
2.38.1



More information about the Newlib mailing list