From 77342edbf3c2bc13f378c919969cf474244fb0a9 Mon Sep 17 00:00:00 2001 From: davidb Date: Mon, 20 Dec 1993 22:46:09 +0000 Subject: [PATCH] Added OBJMACHINE handling. Got the precedence right this time :) --- gnu/usr.bin/gcc2/Makefile.cc1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/usr.bin/gcc2/Makefile.cc1 b/gnu/usr.bin/gcc2/Makefile.cc1 index 9835a11d33ef..bc7b36601d9c 100644 --- a/gnu/usr.bin/gcc2/Makefile.cc1 +++ b/gnu/usr.bin/gcc2/Makefile.cc1 @@ -1,4 +1,4 @@ -# $Id: Makefile.cc1,v 1.4 1993/12/05 00:49:23 cgd Exp $ +# $Id: Makefile.cc1,v 1.5 1993/12/20 22:46:09 davidb Exp $ NOMAN= @@ -8,7 +8,9 @@ CFLAGS+=-I${.CURDIR} -I${.CURDIR}/../common \ -I${.CURDIR}/../arch -I${.CURDIR}/../arch/${MACHINE_ARCH} YFLAGS= -.if exists(${.CURDIR}/../common/obj) +.if exists(${.CURDIR}/../common/obj.${MACHINE}) +LDADD+= ${.CURDIR}/../common/obj.${MACHINE}/libcc1.a +.elif exists(${.CURDIR}/../common/obj) LDADD+= ${.CURDIR}/../common/obj/libcc1.a .else LDADD+= ${.CURDIR}/../common/libcc1.a