From 7a9902fea5800ceec33e8fc95b6d1d47534adf81 Mon Sep 17 00:00:00 2001 From: bde Date: Thu, 8 Jun 2000 18:11:15 +0000 Subject: [PATCH] When dubiously reprogramming .SUFFIXES, don't screw up the order of .S relative to .s. This fixes wrong sources being preferred after "gcc -save-temps" creates .s files from .S files. --- share/mk/bsd.lib.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index a416f374b2e9..149115066af4 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -59,7 +59,7 @@ STRIP?= -s # prefer .s to a .c, add .po, remove stuff not used in the BSD libraries # .So used for PIC object files .SUFFIXES: -.SUFFIXES: .out .o .po .So .s .S .c .cc .cpp .cxx .m .C .f .y .l +.SUFFIXES: .out .o .po .So .S .s .c .cc .cpp .cxx .m .C .f .y .l .c.o: ${CC} ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}