add subarch asm support for PIC objects/shared libc
authorRich Felker <dalias@aerifal.cx>
Sun, 11 Aug 2013 07:49:16 +0000 (03:49 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 11 Aug 2013 07:49:16 +0000 (03:49 -0400)
this rule was omitted in previous subarch asm commit

Makefile

index 7250e1e..9206ca0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -99,6 +99,9 @@ $(MEMOPS_SRCS:%.c=%.o) $(MEMOPS_SRCS:%.c=%.lo): CFLAGS += $(CFLAGS_MEMOPS)
 %.o: %.c $(GENH) $(IMPH)
        $(CC) $(CFLAGS_ALL_STATIC) -c -o $@ $<
 
+%.lo: $(ARCH)$(ASMSUBARCH)/%.s
+       $(CC) $(CFLAGS_ALL_SHARED) -c -o $@ $<
+
 %.lo: $(ARCH)/%.s
        $(CC) $(CFLAGS_ALL_SHARED) -c -o $@ $<