From: Rich Felker Date: Sun, 11 Aug 2013 07:49:16 +0000 (-0400) Subject: add subarch asm support for PIC objects/shared libc X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=804e9940049934215d2947c1068016cba852e560;p=musl add subarch asm support for PIC objects/shared libc this rule was omitted in previous subarch asm commit --- diff --git a/Makefile b/Makefile index 7250e1e6..9206ca02 100644 --- 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 $@ $<