From 4a56d69f1e77a362a51255c125d471fb468f9517 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 22 Dec 2004 18:52:12 +0000 Subject: Patch from Peter S. Mazinger to consistantly use "ASFLAGS" as the flags for all calls to 'as' --- libc/sysdeps/linux/sparc/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'libc/sysdeps/linux/sparc/Makefile') diff --git a/libc/sysdeps/linux/sparc/Makefile b/libc/sysdeps/linux/sparc/Makefile index 01705c024..436785747 100644 --- a/libc/sysdeps/linux/sparc/Makefile +++ b/libc/sysdeps/linux/sparc/Makefile @@ -18,7 +18,6 @@ TOPDIR=../../../../ include $(TOPDIR)Rules.mak -ASFLAGS=$(CFLAGS) CRT0_SRC = crt0.c CRT0_OBJ = crt0.o crt1.o @@ -46,7 +45,7 @@ $(CRT0_OBJ): $(CRT0_SRC) $(STRIPTOOL) -x -R .note -R .comment $*.o $(SOBJS): %.o : %.S - $(CC) $(CFLAGS) -c $< -o $@ + $(CC) $(ASFLAGS) -c $< -o $@ $(STRIPTOOL) -x -R .note -R .comment $*.o $(COBJS): %.o : %.c @@ -55,14 +54,14 @@ $(COBJS): %.o : %.c ifeq ($(strip $(UCLIBC_CTOR_DTOR)),y) crti.o: crti.S - $(CC) $(CFLAGS) -c crti.S -o crti.o + $(CC) $(ASFLAGS) -c crti.S -o crti.o $(TOPDIR)lib/crti.o: crti.o $(INSTALL) -d $(TOPDIR)lib/ cp crti.o $(TOPDIR)lib/ crtn.o: crtn.S - $(CC) $(CFLAGS) -c crtn.S -o crtn.o + $(CC) $(ASFLAGS) -c crtn.S -o crtn.o $(TOPDIR)lib/crtn.o: crtn.o $(INSTALL) -d $(TOPDIR)lib/ -- cgit v1.2.3