Module Name:    src
Committed By:   christos
Date:           Tue Jul  9 04:24:33 UTC 2024

Modified Files:
        src/external/gpl3/binutils/usr.bin/ld: Makefile

Log Message:
make sure that the ldscripts directory exists


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/external/gpl3/binutils/usr.bin/ld/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/binutils/usr.bin/ld/Makefile
diff -u src/external/gpl3/binutils/usr.bin/ld/Makefile:1.40 src/external/gpl3/binutils/usr.bin/ld/Makefile:1.41
--- src/external/gpl3/binutils/usr.bin/ld/Makefile:1.40	Sun Jun 30 12:10:22 2024
+++ src/external/gpl3/binutils/usr.bin/ld/Makefile	Tue Jul  9 00:24:33 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.40 2024/06/30 16:10:22 christos Exp $
+#	$NetBSD: Makefile,v 1.41 2024/07/09 04:24:33 christos Exp $
 
 CPPFLAGS+=	-I${.CURDIR}/arch/${BINUTILS_MACHINE_ARCH} \
 		-I${DIST}/ld \
@@ -69,6 +69,7 @@ CLEANFILES+=	.depend.${f} e${f}.c
 e${f}.c: ${DIST}/ld/genscripts.sh ${.CURDIR}/Makefile stringify.sed
 	${_MKTARGET_CREATE}
 	unset MACHINE || true; \
+	mkdir -p ldscripts && \
 	NATIVE=yes ${HOST_SH} ${DIST}/ld/genscripts.sh ${DIST}/ld \
 		${LIBDIR} "/usr" "/usr/bin" \
 		${G_target_alias} ${G_target_alias} ${G_target_alias} \

Reply via email to