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 7250e1e657e73253eff3e205f7f55d4124c31d41..9206ca021fc4ce26fc047bc6395e94d97ca69222 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 $@ $<