mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
Support compiling .S files with additional options
Add $(sysdep-ASFLAGS) $(ASFLAGS-$(<F)) $(ASFLAGS-$(@F)) to compile.S and COMPILE.S to support compiling .S files with additional options.
This commit is contained in:
parent
dfb05f8e70
commit
c503c2603c
@ -447,10 +447,12 @@ native-compile-mkdep-flags = -MMD -MP -MF $@.dt -MT $@
|
|||||||
compile.c = $(CC) $< -c $(CFLAGS) $(CPPFLAGS)
|
compile.c = $(CC) $< -c $(CFLAGS) $(CPPFLAGS)
|
||||||
compile.cc = $(CXX) $< -c $(CXXFLAGS) $(CPPFLAGS)
|
compile.cc = $(CXX) $< -c $(CXXFLAGS) $(CPPFLAGS)
|
||||||
compile.S = $(CC) $< -c $(CPPFLAGS) $(S-CPPFLAGS) \
|
compile.S = $(CC) $< -c $(CPPFLAGS) $(S-CPPFLAGS) \
|
||||||
$(ASFLAGS) $(ASFLAGS-$(suffix $@))
|
$(ASFLAGS) $(ASFLAGS-$(suffix $@)) $(sysdep-ASFLAGS) \
|
||||||
|
$(ASFLAGS-$(<F)) $(ASFLAGS-$(@F))
|
||||||
COMPILE.c = $(CC) -c $(CFLAGS) $(CPPFLAGS)
|
COMPILE.c = $(CC) -c $(CFLAGS) $(CPPFLAGS)
|
||||||
COMPILE.S = $(CC) -c $(CPPFLAGS) $(S-CPPFLAGS) \
|
COMPILE.S = $(CC) -c $(CPPFLAGS) $(S-CPPFLAGS) \
|
||||||
$(ASFLAGS) $(ASFLAGS-$(suffix $@))
|
$(ASFLAGS) $(ASFLAGS-$(suffix $@)) $(sysdep-ASFLAGS) \
|
||||||
|
$(ASFLAGS-$(<F)) $(ASFLAGS-$(@F))
|
||||||
|
|
||||||
# We need this for the output to go in the right place. It will default to
|
# We need this for the output to go in the right place. It will default to
|
||||||
# empty if make was configured to work with a cc that can't grok -c and -o
|
# empty if make was configured to work with a cc that can't grok -c and -o
|
||||||
|
Loading…
Reference in New Issue
Block a user