Module Name:    src
Committed By:   mrg
Date:           Mon Nov 13 19:07:00 UTC 2023

Modified Files:
        src/sys/lib/libkern: Makefile.compiler-rt

Log Message:
avoid dependency on NETBSDSRCDIR being set.

due to various things, non-build.sh builds don't have it set already
and it ends up defaulting to /usr/src, so if that doesn't exist or
is the wrong version, building libkern fails.

XXX: pullup-10, ..?


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/lib/libkern/Makefile.compiler-rt

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

Modified files:

Index: src/sys/lib/libkern/Makefile.compiler-rt
diff -u src/sys/lib/libkern/Makefile.compiler-rt:1.13 src/sys/lib/libkern/Makefile.compiler-rt:1.14
--- src/sys/lib/libkern/Makefile.compiler-rt:1.13	Wed Jun 16 05:21:09 2021
+++ src/sys/lib/libkern/Makefile.compiler-rt	Mon Nov 13 19:07:00 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile.compiler-rt,v 1.13 2021/06/16 05:21:09 rin Exp $
+# $NetBSD: Makefile.compiler-rt,v 1.14 2023/11/13 19:07:00 mrg Exp $
 
-COMPILER_RT_DIR=	${NETBSDSRCDIR}/sys/external/bsd/compiler_rt
+COMPILER_RT_DIR=	${.PARSEDIR}/../../external/bsd/compiler_rt
 COMPILER_RT_SRCDIR=	${COMPILER_RT_DIR}/dist
 
 .if ${MACHINE_ARCH} == "powerpc"

Reply via email to