summary refs log tree commit diff
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.tar.gz
glibc-93a2584cd2ffb2a6e4b17682ba250889059f5d8b.tar.xz
glibc-93a2584cd2ffb2a6e4b17682ba250889059f5d8b.zip
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 608ffe648c..099f184088 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)