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
This commit is contained in:
parent
43b5712444
commit
976716664f
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user