diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-04-08 08:32:49 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-04-08 08:32:49 +0000 |
commit | 5f00a0330ab65e968321c2d1464a3b94279612bc (patch) | |
tree | 100255ad5ae1e0f0a62dc1a5167c88037c688a66 | |
parent | 36993507c1f0b31f6bc4e9ed601d34965c407134 (diff) | |
download | glibc-5f00a0330ab65e968321c2d1464a3b94279612bc.zip glibc-5f00a0330ab65e968321c2d1464a3b94279612bc.tar.gz glibc-5f00a0330ab65e968321c2d1464a3b94279612bc.tar.bz2 |
(CPPFLAGS): Also add CPPFLAGS-<basename> where <basename> is the name of the source file without extension.
-rw-r--r-- | Makeconfig | 3 |
1 files changed, 2 insertions, 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)) |