diff --git a/lang/cem/libcc.ansi/MakeArch b/lang/cem/libcc.ansi/MakeArch index addd9a30d..389363b09 100755 --- a/lang/cem/libcc.ansi/MakeArch +++ b/lang/cem/libcc.ansi/MakeArch @@ -1,6 +1,6 @@ -# $Header$ -# This script makes an archive. The only option it knows is -o, which -# creates a library. +: $Header$ +: This script makes an archive. The only option it knows is -o, which +: creates a library. rm -f OLIST @@ -45,7 +45,7 @@ DIRS=`cat LIST` for i in $DIRS do cd $i - if make "MACH=$MACH" "MACHFL=$MACHFL" $AR -f ../Makefile + if make "MACH=$MACH" "MACHFL=$MACHFL" "SUF=$SUF" $AR -f ../Makefile then cd .. if [ $AR = tar ] diff --git a/lang/cem/libcc.ansi/Makefile b/lang/cem/libcc.ansi/Makefile index 46676086b..c891159df 100644 --- a/lang/cem/libcc.ansi/Makefile +++ b/lang/cem/libcc.ansi/Makefile @@ -35,7 +35,7 @@ tailcp: tail rm -f $(OLIB) lib: - MACH=$(MACH) MACHFL="$(MACHFL) -LIB" ASAR=$(ASAR) \ + MACH=$(MACH) MACHFL="$(MACHFL) -LIB" ASAR=$(ASAR) SUF=$(SUF) \ OLIB=$(OLIB) MakeArch -o ar aal arch: