From 8585cd4da4464a614be3492c61061f03699eaa2e Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 1 Nov 2005 14:52:11 +0000 Subject: ASFLAGS does not need to include CFLAGS as well, compile.S does it already --- Rules.mak | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Rules.mak') 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) -- cgit v1.2.3