Date: Fri, 8 Nov 2019 03:14:07 +0000 (UTC) From: Brooks Davis <brooks@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r354523 - head/share/mk Message-ID: <201911080314.xA83E7GO004516@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brooks Date: Fri Nov 8 03:14:06 2019 New Revision: 354523 URL: https://svnweb.freebsd.org/changeset/base/354523 Log: Turn the error about a lack of LIBCOMPAT into a warning. Add some diagnostic output. This works around the fact that buildworld calls cleandir in libexec with the wrong MACHINE_ARCH (i386 on amd64) when the OBJ directory is empty. Reported by: bdragon, jkim Modified: head/share/mk/bsd.compat.mk Modified: head/share/mk/bsd.compat.mk ============================================================================== --- head/share/mk/bsd.compat.mk Fri Nov 8 01:13:12 2019 (r354522) +++ head/share/mk/bsd.compat.mk Fri Nov 8 03:14:06 2019 (r354523) @@ -103,7 +103,7 @@ LIBSOFTWMAKEFLAGS= -DCOMPAT_SOFTFP # In the program linking case, select LIBCOMPAT .if defined(NEED_COMPAT) .ifndef HAS_COMPAT -.error NEED_COMPAT defined, but no LIBCOMPAT is available +.warning NEED_COMPAT defined, but no LIBCOMPAT is available (COMPAT_ARCH == ${COMPAT_ARCH} .elif !${HAS_COMPAT:M${NEED_COMPAT}} && ${NEED_COMPAT} != "any" .error NEED_COMPAT (${NEED_COMPAT}) defined, but not in HAS_COMPAT ($HAS_COMPAT) .elif ${NEED_COMPAT} == "any"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911080314.xA83E7GO004516>