From 88a13257e6cfd7c31684b5bc56d9650359043d37 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Fri, 28 Aug 2009 01:01:46 -0400 Subject: [PATCH] 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 --- src/libafs/MakefileProto.DARWIN.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.5