mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
(CPPFLAGS): Also add CPPFLAGS-<basename> where <basename> is the name of the source file without extension.
This commit is contained in:
parent
36993507c1
commit
5f00a0330a
1 changed files with 2 additions and 1 deletions
|
@ -634,7 +634,8 @@ libio-include = -I$(..)libio
|
|||
# These are the variables that the implicit compilation rules use.
|
||||
CPPFLAGS = $($(subdir)-CPPFLAGS) $(+includes) $(defines) \
|
||||
-include $(..)include/libc-symbols.h $(sysdep-CPPFLAGS) \
|
||||
$(CPPFLAGS-$(suffix $@)) $(CPPFLAGS-$(<F)) $(CPPFLAGS-$(@F))
|
||||
$(CPPFLAGS-$(suffix $@)) $(CPPFLAGS-$(<F)) $(CPPFLAGS-$(@F)) \
|
||||
$(CPPFLAGS-$(patsubst %$(suffix $@),%,$(@F)))
|
||||
override CFLAGS = $(filter-out %frame-pointer,$(+cflags)) $(sysdep-CFLAGS) \
|
||||
$(CFLAGS-$(suffix $@)) $(CFLAGS-$(<F)) $(CFLAGS-$(@F))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue