summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-08-11 03:49:16 -0400
committerRich Felker <dalias@aerifal.cx>2013-08-11 03:49:16 -0400
commit804e9940049934215d2947c1068016cba852e560 (patch)
tree4fab03dd366370cd593eeaba69fecd233467d326 /Makefile
parent7568ee4cbf317f8c21fb9b45e059db2a45c81488 (diff)
downloadmusl-804e9940049934215d2947c1068016cba852e560.tar.gz
musl-804e9940049934215d2947c1068016cba852e560.tar.bz2
musl-804e9940049934215d2947c1068016cba852e560.tar.xz
musl-804e9940049934215d2947c1068016cba852e560.zip
add subarch asm support for PIC objects/shared libc
this rule was omitted in previous subarch asm commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
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 $@ $<