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' --- ldso/ldso/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ldso/ldso/Makefile') diff --git a/ldso/ldso/Makefile b/ldso/ldso/Makefile index 7822d4c4f..1d71f3fcb 100644 --- a/ldso/ldso/Makefile +++ b/ldso/ldso/Makefile @@ -22,6 +22,8 @@ include $(TOPDIR)Rules.mak LDSO_FULLNAME=ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so SSPFLAGS=$(call check_gcc,-fno-stack-protector,) +# reset to initial (disabling predefined CFLAGS) +ASFLAGS= XXFLAGS=$(XWARNINGS) $(SSPFLAGS) ifeq ($(DODEBUG),y) @@ -77,7 +79,7 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o $(AOBJS): %.o : %.S - $(CC) $(XXFLAGS) -I../libdl -c $< -o $@ + $(CC) $(XXFLAGS) $(ASFLAGS) -I../libdl -c $< -o $@ $(STRIPTOOL) -x -R .note -R .comment $*.o ldso.o: $(CSRC) -- cgit v1.2.3