]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
FBSD: don't reference libc_r; no release OpenAFS works on still uses it
authorGarrett Wollman <wollman@csail.mit.edu>
Sun, 15 Jul 2012 15:56:15 +0000 (11:56 -0400)
committerDerrick Brashear <shadow@dementix.org>
Mon, 16 Jul 2012 12:29:45 +0000 (05:29 -0700)
libc_r is the old user-mode threading library.  Modern versions of
FreeBSD don't include it, and the conditionals here that (nearly
always) override it with the correct library, libpthread, are true
on every version of FreeBSD for which OpenAFS might plausibly be
compiled.  So just use the correct library all the time.

Change-Id: I8f813814973cec3173f44636523c3bf0bee27b3e
Reviewed-on: http://gerrit.openafs.org/7764
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/libuafs/MakefileProto.FBSD.in

index 560f71f6de3492b0a5c12c37219f264f045324ea..7700b83f255e89faefdab3731cfa520eb7c5204a 100644 (file)
@@ -23,11 +23,7 @@ OPTF=-O
 
 TEST_CFLAGS=-D_REENTRANT -DAFS_PTHREAD_ENV -DAFS_FBSD50_ENV $(XCFLAGS)
 TEST_LDFLAGS=
-<all -fbsd_62 -fbsd_70 -fbsd_71 -fbsd_72 -fbsd_73 -fbsd_74 -fbsd_80 -fbsd_81 -fbsd_90>
-TEST_LIBS=-lc_r
-<fbsd_62 fbsd_70 fbsd_71 fbsd_72 fbsd_73 fbsd_74 fbsd_80 fbsd_81 fbsd_82 fbsd_90>
 TEST_LIBS=-lpthread
-<all>
 
 LIBUAFS = libuafs.a
 LIBJUAFS = libjuafs.a