From 3feb2837fa769f57729aad5c9eb1cd9a90974c9b Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Mon, 9 Aug 2004 00:12:55 +0000 Subject: [PATCH] macos-largefile-client-20040808 libcc_kext is needed for ashldi3, ashrdi3, so that long long operations don't result in undefined symbols --- src/config/param.ppc_darwin_70.h | 1 + src/libafs/MakefileProto.DARWIN.in | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/config/param.ppc_darwin_70.h b/src/config/param.ppc_darwin_70.h index 82d695c32d..d3a1e6cb1e 100644 --- a/src/config/param.ppc_darwin_70.h +++ b/src/config/param.ppc_darwin_70.h @@ -6,6 +6,7 @@ #define AFS_ENV 1 #define AFS_64BIT_ENV 1 /* Defines afs_int32 as int, not long. */ +#define AFS_64BIT_CLIENT 1 #define AFS_64BIT_IOPS_ENV 1 #define AFS_PPC_ENV 1 #define AFS_VFSINCL_ENV 1 diff --git a/src/libafs/MakefileProto.DARWIN.in b/src/libafs/MakefileProto.DARWIN.in index ff05253296..563f034a16 100644 --- a/src/libafs/MakefileProto.DARWIN.in +++ b/src/libafs/MakefileProto.DARWIN.in @@ -98,7 +98,7 @@ dest_libafs: $(LIBAFSNONFS) ; ${LIBAFS}: $(AFSAOBJS) $(AFSNFSOBJS) - $(LD) -r -o ${LIBAFS} ${AFSAOBJS} ${AFSNFSOBJS} + $(LD) -r -o ${LIBAFS} ${AFSAOBJS} ${AFSNFSOBJS} -lcc_kext ${LIBAFSNONFS}: $(AFSAOBJS) $(AFSNONFSOBJS) - $(LD) -r -o ${LIBAFSNONFS} ${AFSAOBJS} ${AFSNONFSOBJS} + $(LD) -r -o ${LIBAFSNONFS} ${AFSAOBJS} ${AFSNONFSOBJS} -lcc_kext