svn commit: r340587 - head
Alex Richardson
arichardson at FreeBSD.org
Sun Nov 18 19:55:04 UTC 2018
Author: arichardson
Date: Sun Nov 18 19:55:03 2018
New Revision: 340587
URL: https://svnweb.freebsd.org/changeset/base/340587
Log:
Fix -DNO_CLEAN amd64 build after r340463
Without this change I got the following error:
clang-7: error: no such file or directory: '..../lib/libc/amd64/string/bzero.S'
Reviewed By: mjg
Differential Revision: https://reviews.freebsd.org/D18031
Modified:
head/Makefile.inc1
Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1 Sun Nov 18 14:58:01 2018 (r340586)
+++ head/Makefile.inc1 Sun Nov 18 19:55:03 2018 (r340587)
@@ -962,6 +962,13 @@ _cleanobj_fast_depend_hack: .PHONY
${LIBCOMPAT:D${LIBCOMPAT_OBJTOP}/lib/libc/.depend.${f}.*}; \
fi
.endfor
+# 20181115 r340463 bzero reimplemented as .c
+ @if [ -e "${OBJTOP}/lib/libc/.depend.bzero.o" ] && \
+ egrep -qw 'bzero\.[sS]' ${OBJTOP}/lib/libc/.depend.bzero.o; then \
+ echo "Removing stale dependencies for bzero"; \
+ rm -f ${OBJTOP}/lib/libc/.depend.bzero.* \
+ ${LIBCOMPAT:D${LIBCOMPAT_OBJTOP}/lib/libc/.depend.bzero.*}; \
+ fi
# 20181009 track migration from ntp's embedded libevent to updated one
@if [ -e "${OBJTOP}/usr.sbin/ntp/libntpevent/.depend.bufferevent_openssl.o" ] && \
egrep -q 'contrib/ntp/sntp/libevent/bufferevent_openssl.c' \
More information about the svn-src-all
mailing list