From 1ea85f62bffcd57d0429db46fb7fa3e57e7f1b70 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Tue, 9 Oct 2007 22:32:01 +0000 Subject: [PATCH] STABLE14-darwin90-debug-harder-20071009 stab the stabs (cherry picked from commit 604838e7d43f4cd65d4eb70208bea57db2e93026) --- src/libafs/MakefileProto.DARWIN.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libafs/MakefileProto.DARWIN.in b/src/libafs/MakefileProto.DARWIN.in index 3fb75a2ff8..4533298c75 100644 --- a/src/libafs/MakefileProto.DARWIN.in +++ b/src/libafs/MakefileProto.DARWIN.in @@ -44,21 +44,21 @@ ARCH_ppc=$(shell echo "${ARCHFLAGS}" | grep -q -w ppc && echo yes) ARCH_x86=$(shell echo "${ARCHFLAGS}" | grep -q -w i386 && echo yes) ifeq ($(ARCH_ppc),yes) ifeq ($(ARCH_x86),yes) -MODLD=$(CC) -static -g -nostdlib -arch ppc -arch i386 +MODLD=$(CC) -static $(KOPTS_DBUG) -nostdlib -arch ppc -arch i386 CFLAGS_ppc=${KINCLUDES} -I. -I.. -I${TOP_OBJDIR}/src/config $(DEFINES) $(KDEFS) $(KOPTS_ppc) $(KOPTS_DBUG) CFLAGS_x86=${KINCLUDES} -I. -I.. -I${TOP_OBJDIR}/src/config $(DEFINES) $(KDEFS) $(KOPTS_x86) $(KOPTS_DBUG) else -MODLD=$(CC) -static -g -nostdlib -arch ppc +MODLD=$(CC) -static $(KOPTS_DBUG) -nostdlib -arch ppc KOPTS=$(KOPTS_ppc) CFLAGS=${KINCLUDES} -I. -I.. -I${TOP_OBJDIR}/src/config $(DEFINES) $(KDEFS) $(KOPTS) endif else ifeq ($(ARCH_x86),yes) -MODLD=$(CC) -static -g -nostdlib -arch i386 +MODLD=$(CC) -static $(KOPTS_DBUG) -nostdlib -arch i386 KOPTS=$(KOPTS_x86) else _ARCH=$(shell arch) -MODLD=$(CC) -static -g -nostdlib -arch $(_ARCH) +MODLD=$(CC) -static $(KOPTS_DBUG) -nostdlib -arch $(_ARCH) KOPTS=$(KOPTS_$(shell echo $(_ARCH) | sed 's/i386/x86/')) endif CFLAGS=${KINCLUDES} -I. -I.. -I${TOP_OBJDIR}/src/config $(DEFINES) $(KDEFS) $(KOPTS)