Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2024 18:53:26 GMT
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: d9108adbc039 - main - lib{c,sys}: really fix incremental builds
Message-ID:  <202403181853.42IIrQau006739@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by brooks:

URL: https://cgit.FreeBSD.org/src/commit/?id=d9108adbc0393a58d52cd9275bf582b02199427f

commit d9108adbc0393a58d52cd9275bf582b02199427f
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2024-03-18 17:06:41 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2024-03-18 18:52:42 +0000

    lib{c,sys}: really fix incremental builds
    
    Reported by:    andrew
    Fixes:          a650ec0e55a9 lib{c,sys}: fix incremental builds
---
 tools/build/depend-cleanup.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/build/depend-cleanup.sh b/tools/build/depend-cleanup.sh
index e327ee40a6df..71988e526369 100755
--- a/tools/build/depend-cleanup.sh
+++ b/tools/build/depend-cleanup.sh
@@ -222,8 +222,8 @@ clean_dep   lib/libc        statfs        c
 # 20240308  e6ffc7669a56    Remove pointless MD syscall(2)
 # 20240308  0ee0ae237324    Remove pointless MD syscall(2)
 # 20240308  7b3836c28188    Remove pointless MD syscall(2)
-if [ ${MACHINE} != i386 -a -f "$OBJTOP"/lib/libsys/.depend.syscall.o && \
-    grep -eq 'libsys/[^ /]*/syscall.S' "$OBJTOP"/lib/libsys/.depend.syscall.*; then
+if [ ${MACHINE} != i386 -a -f "$OBJTOP"/lib/libsys/.depend.syscall.o ] && \
+    grep -q -e 'libsys/[^ /]*/syscall.S' "$OBJTOP"/lib/libsys/.depend.syscall.*; then
 	echo "Removing stale <arch>/syscall.S depends"
 	clean_dep   lib/libsys  syscall S
 	clean_dep   lib/libc    syscall S



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403181853.42IIrQau006739>