aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-08-17 11:35:42 +0200
committerFlorian Weimer <fweimer@redhat.com>2018-08-17 11:35:42 +0200
commit93a2584cd2ffb2a6e4b17682ba250889059f5d8b (patch)
treef8c1c4c07e55613f1c75d1f023c402336b37391e /Makeconfig
parentf6f275d2d92003fdd53c4fd26c32466f64052b95 (diff)
downloadglibc-93a2584cd2ffb2a6e4b17682ba250889059f5d8b.zip
glibc-93a2584cd2ffb2a6e4b17682ba250889059f5d8b.tar.gz
glibc-93a2584cd2ffb2a6e4b17682ba250889059f5d8b.tar.bz2
Makeconfig (ASFLAGS): Always append required assembler flags
Otherwise, it is impossible to set ASFLAGS differently from CFLAGS without also overriding essential flags such as -Wa,--noexecstack.
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig
index 608ffe6..099f184 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -1047,7 +1047,7 @@ endif
ifndef ASFLAGS
ASFLAGS := $(filter -g% -fdebug-prefix-map=%,$(CFLAGS))
endif
-ASFLAGS += -Werror=undef $(ASFLAGS-config) $(asflags-cpu)
+override ASFLAGS += -Werror=undef $(ASFLAGS-config) $(asflags-cpu)
ifndef BUILD_CC
BUILD_CC = $(CC)