aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorSachin Monga <smonga@linux.ibm.com>2025-08-01 04:35:11 -0500
committerSachin Monga <smonga@linux.ibm.com>2025-08-07 02:02:17 -0500
commitfd9ffafc0eaad3b4ff576f4d291d2e9336e6019b (patch)
tree1daf828add83e1e55d6e2dc7338f87efaf0898e7 /Makeconfig
parent9d054eca1a6bb2585beec9d338b3aa978ad6e152 (diff)
downloadglibc-master.zip
glibc-master.tar.gz
glibc-master.tar.bz2
Filter machine compiler flags into Assembler FlagsHEADmaster
Assembler files may want or need to test for predefined macros which are set via -m* compiler options, so ensure all -m* options in CFLAGS are passed to ASFLAGS. Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig
index 7102d92..9eda4fa 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -1182,7 +1182,7 @@ endif
# The assembler can generate debug information too.
ifndef ASFLAGS
-ASFLAGS := $(filter -g% -fdebug-prefix-map=%,$(CFLAGS))
+ASFLAGS := $(filter -g% -fdebug-prefix-map=% -m%,$(CFLAGS))
endif
override ASFLAGS += -Werror=undef $(ASFLAGS-config) $(asflags-cpu) $(as-sframe)