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-stable-1_4_12pre1~133 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=88a13257e6cfd7c31684b5bc56d9650359043d37;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. (cherry picked from commit eefb4d83c5ee7fbf3b575773eeec2b126373557a) Reviewed-on: http://gerrit.openafs.org/366 Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear --- diff --git a/src/libafs/MakefileProto.DARWIN.in b/src/libafs/MakefileProto.DARWIN.in index de3bee43b..c6422fe21 100644 --- a/src/libafs/MakefileProto.DARWIN.in +++ b/src/libafs/MakefileProto.DARWIN.in @@ -52,9 +52,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)