mirror of git://sourceware.org/git/glibc.git
Filter machine compiler flags into Assembler Flags
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>
This commit is contained in:
parent
9d054eca1a
commit
fd9ffafc0e
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue