From: Derrick Brashear Date: Fri, 28 Aug 2009 05:01:46 +0000 (-0400) Subject: macos 10.5 doesn't support compiler kext flag X-Git-Tag: openafs-devel-1_5_62^0 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=e26235ed3ed4c444d907d217a4b6cdd25fa1d475;p=packages%2Fo%2Fopenafs.git macos 10.5 doesn't support compiler kext flag -kext was added in later xcodes; it's safer to just assume we don't have it. Reviewed-on: http://gerrit.openafs.org/365 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear --- diff --git a/src/libafs/MakefileProto.DARWIN.in b/src/libafs/MakefileProto.DARWIN.in index d137bdb3d..3cfaf6d2e 100644 --- a/src/libafs/MakefileProto.DARWIN.in +++ b/src/libafs/MakefileProto.DARWIN.in @@ -56,9 +56,9 @@ OBJ_ppc=$(shell echo "${ARCH_ppc}" | grep -q -w yes && echo "$@.ppc") OBJ_x86=$(shell echo "${ARCH_x86}" | grep -q -w yes && echo "$@.x86") OBJ_amd64=$(shell echo "${ARCH_amd64}" | grep -q -w yes && echo "$@.amd64") - + MODLD=$(CC) -static $(KOPTS_DBUG) -nostdlib $(ARCHFLAGS) -Xlinker -kext - + MODLD=$(CC) -static $(KOPTS_DBUG) -nostdlib $(ARCHFLAGS)