summaryrefslogtreecommitdiffstats
path: root/kerberos5/lib/libgssapi_spnego
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2014-01-28 22:23:39 +0000
committerpeter <peter@FreeBSD.org>2014-01-28 22:23:39 +0000
commit680cc3ef3033880edfe55c08994d3038199fbf61 (patch)
treea36daefdb70d6254454893c228fb79f12586a6ca /kerberos5/lib/libgssapi_spnego
parent5b137394de189b5ced2d7223b9273c11ed91f9b7 (diff)
downloadFreeBSD-src-680cc3ef3033880edfe55c08994d3038199fbf61.zip
FreeBSD-src-680cc3ef3033880edfe55c08994d3038199fbf61.tar.gz
Speculatively replace a cp with a cat for gathering data on a
sporadic parallel build failure in the FreeBSD cluster on many-core systems with ZFS. cp uses mmap in this scenario, cat does not.
Diffstat (limited to 'kerberos5/lib/libgssapi_spnego')
-rw-r--r--kerberos5/lib/libgssapi_spnego/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/kerberos5/lib/libgssapi_spnego/Makefile b/kerberos5/lib/libgssapi_spnego/Makefile
index 00d299e..0220b40 100644
--- a/kerberos5/lib/libgssapi_spnego/Makefile
+++ b/kerberos5/lib/libgssapi_spnego/Makefile
@@ -45,10 +45,10 @@ ${GEN}: spnego.asn1 spnego.opt
.SUFFIXES: .h .c .x .hx
.x.c:
- cmp -s ${.IMPSRC} ${.TARGET} 2> /dev/null || cp ${.IMPSRC} ${.TARGET}
+ cmp -s ${.IMPSRC} ${.TARGET} 2> /dev/null || cat ${.IMPSRC} > ${.TARGET}
.hx.h:
- cmp -s ${.IMPSRC} ${.TARGET} 2> /dev/null || cp ${.IMPSRC} ${.TARGET}
+ cmp -s ${.IMPSRC} ${.TARGET} 2> /dev/null || cat ${.IMPSRC} > ${.TARGET}
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud