summaryrefslogtreecommitdiff
path: root/libc/string
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string')
-rw-r--r--libc/string/arm/Makefile2
-rw-r--r--libc/string/frv/Makefile2
-rw-r--r--libc/string/mips/Makefile2
-rw-r--r--libc/string/sh64/Makefile2
4 files changed, 4 insertions, 4 deletions
diff --git a/libc/string/arm/Makefile b/libc/string/arm/Makefile
index 25adea975..7a4e18454 100644
--- a/libc/string/arm/Makefile
+++ b/libc/string/arm/Makefile
@@ -31,7 +31,7 @@ ar-target: $(SOBJS)
$(AR) $(ARFLAGS) $(LIBC) $(SOBJS)
$(SOBJS): %.o : %.S
- $(CC) $(CFLAGS) -c $< -o $@
+ $(CC) $(ASFLAGS) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
clean:
diff --git a/libc/string/frv/Makefile b/libc/string/frv/Makefile
index 5424e9b94..b9cea059a 100644
--- a/libc/string/frv/Makefile
+++ b/libc/string/frv/Makefile
@@ -31,7 +31,7 @@ ar-target: $(OBJS)
$(AR) $(ARFLAGS) $(LIBC) $(OBJS)
$(SOBJS): %.o : %.S
- $(CC) $(CFLAGS) -c $< -o $@
+ $(CC) $(ASFLAGS) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
clean:
diff --git a/libc/string/mips/Makefile b/libc/string/mips/Makefile
index a17826ea5..805024929 100644
--- a/libc/string/mips/Makefile
+++ b/libc/string/mips/Makefile
@@ -30,7 +30,7 @@ ar-target: $(SOBJS)
$(AR) $(ARFLAGS) $(LIBC) $(SOBJS)
$(SOBJS): %.o : %.S
- $(CC) $(CFLAGS) -c $< -o $@
+ $(CC) $(ASFLAGS) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
clean:
diff --git a/libc/string/sh64/Makefile b/libc/string/sh64/Makefile
index 5c82e083f..fcd988f58 100644
--- a/libc/string/sh64/Makefile
+++ b/libc/string/sh64/Makefile
@@ -30,7 +30,7 @@ ar-target: $(SOBJS)
$(AR) $(ARFLAGS) $(LIBC) $(SOBJS)
$(SOBJS): %.o : %.S
- $(CC) $(CFLAGS) -c $< -o $@
+ $(CC) $(ASFLAGS) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
clean: