summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-12-22 18:52:12 +0000
committerEric Andersen <andersen@codepoet.org>2004-12-22 18:52:12 +0000
commit4a56d69f1e77a362a51255c125d471fb468f9517 (patch)
treeac732e2023e9d7e1a688ef65bf771ad5755a43ab /ldso
parent05d9958f685e3f0c51be4f1128348645451e51fb (diff)
Patch from Peter S. Mazinger to consistantly use "ASFLAGS"
as the flags for all calls to 'as'
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/Makefile4
1 files changed, 3 insertions, 1 deletions
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)