summaryrefslogtreecommitdiffstats
path: root/lib/libc/Makefile
diff options
context:
space:
mode:
authorsimon <simon@FreeBSD.org>2007-03-04 12:25:03 +0000
committersimon <simon@FreeBSD.org>2007-03-04 12:25:03 +0000
commit1a39e1d25c8ae1719332da98e2da9ea3f4f55a55 (patch)
tree485ea3d0fb950bbfbfc12c3fae6c70e6abff9c0f /lib/libc/Makefile
parent39b83fbf36a44f016b84bf4ae6045139e4f03ff1 (diff)
downloadFreeBSD-src-1a39e1d25c8ae1719332da98e2da9ea3f4f55a55.zip
FreeBSD-src-1a39e1d25c8ae1719332da98e2da9ea3f4f55a55.tar.gz
Disable RPC exponential back-off for FreeBSD.org systems (IE. hidden
behind _FREEFALL_CONFIG). This is done mainly to make NIS even more resistant to packet loss. This is not enabled by default for "normal" FreeBSD since it might cause the server providing the RPC service to be hit heavily with RPC traffic in case of problems. freefall.FreeBSD.org and hub.FreeBSD.org have been running with a patch similar to this for a couple of weeks. MFC after: 1 week Discussed with: peter
Diffstat (limited to 'lib/libc/Makefile')
-rw-r--r--lib/libc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/Makefile b/lib/libc/Makefile
index 2741113..8a0692b 100644
--- a/lib/libc/Makefile
+++ b/lib/libc/Makefile
@@ -72,6 +72,9 @@ CFLAGS+= -DNO_FLOATING_POINT
.if ${MK_NS_CACHING} != "no"
CFLAGS+= -DNS_CACHING
.endif
+.if defined(_FREEFALL_CONFIG)
+CFLAGS+=-D_FREEFALL_CONFIG
+.endif
.if defined(SYMVER_ENABLED)
VERSION_DEF=${.CURDIR}/Versions.def
OpenPOWER on IntegriCloud