summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-01 14:52:11 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-01 14:52:11 +0000
commit8585cd4da4464a614be3492c61061f03699eaa2e (patch)
treec241fa8402a6f2b1859e5be92d6e0abe8bd4b29c
parentde5359a57065d40fcf11a0f609822089de79a97a (diff)
ASFLAGS does not need to include CFLAGS as well, compile.S does it already
-rw-r--r--Makerules2
-rw-r--r--Rules.mak3
2 files changed, 2 insertions, 3 deletions
diff --git a/Makerules b/Makerules
index 5d95af9ce..b50b8a594 100644
--- a/Makerules
+++ b/Makerules
@@ -37,7 +37,7 @@ CFLAGS-.oS+=$(PICFLAG) -DSHARED
#ifeq ($(HAVE_ELF),y)
CRT=crt1
#else
-#CRT=crt0.o
+#CRT=crt0
#endif
ifeq ($(HAVE_SHARED),y)
diff --git a/Rules.mak b/Rules.mak
index 4c83e1123..6313ecc8c 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -386,7 +386,6 @@ CFLAGS+=-DNDEBUG
endif
# Keep the check_as from being needlessly executed
-ASFLAGS = $(CFLAGS)
ifndef ASFLAGS_NOEXEC
ifeq ($(UCLIBC_BUILD_NOEXECSTACK),y)
export ASFLAGS_NOEXEC := $(call check_as,--noexecstack)
@@ -394,7 +393,7 @@ else
export ASFLAGS_NOEXEC :=
endif
endif
-ASFLAGS += $(ASFLAGS_NOEXEC)
+ASFLAGS = $(ASFLAGS_NOEXEC)
LIBGCC_CFLAGS ?= $(CFLAGS) $(CPU_CFLAGS-y)
LIBGCC:=$(shell $(CC) $(LIBGCC_CFLAGS) -print-libgcc-file-name)