From 5fc5b3c32d829491981234681818844590fc106f Mon Sep 17 00:00:00 2001 From: keie Date: Tue, 4 Jun 1985 10:26:06 +0000 Subject: [PATCH] A version that tells march to not try to include objects of modules that failed to translate in the library. --- mach/m68k2/libcc/compmodule | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mach/m68k2/libcc/compmodule b/mach/m68k2/libcc/compmodule index 284613267..6327cb991 100755 --- a/mach/m68k2/libcc/compmodule +++ b/mach/m68k2/libcc/compmodule @@ -1,2 +1,6 @@ -${MACH?} -I../../../h ${MACHFL?} $1 1>&2 -echo `basename $1 $2`.s +if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 +then + echo `basename $1 $2`.o +else + exit 1 +fi -- 2.34.1