summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/sysdeps/linux/arm/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/arm/Makefile b/libc/sysdeps/linux/arm/Makefile
index 94f80ac04..2146ef053 100644
--- a/libc/sysdeps/linux/arm/Makefile
+++ b/libc/sysdeps/linux/arm/Makefile
@@ -25,7 +25,7 @@ include $(TOPDIR)Rules.mak
LIBC=$(TOPDIR)libc.a
ASFLAGS=$(CFLAGS)
-SSRC=_start.S
+SSRC=_start.S
SOBJS=$(patsubst %.S,%.o, $(SSRC))
MSRC=syscalls.c
@@ -44,8 +44,8 @@ $(LIBC): ar-target
ar-target: $(OBJS)
$(AR) $(ARFLAGS) $(LIBC) $(OBJS)
-$(SOBJS): $(SSRC)
- $(CC) $(CFLAGS) $< -c -o $*.o
+$(SOBJS):
+ $(CC) $(CFLAGS) $< -c $*.S -o $*.o
$(STRIPTOOL) -x -R .note -R .comment $*.o
$(MOBJ): $(MSRC)