Use CPPFLAGS from configure.

This commit is contained in:
Mike Frysinger 2011-09-19 12:41:04 -07:00 committed by Roland McGrath
parent 88738eb6e9
commit 1c3b002bbb
3 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-09-19 Mike Frysinger <vapier@gentoo.org>
* Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
* config.make.in (CPPFLAGS-config): New substituted variable.
2011-09-15 Ulrich Drepper <drepper@gmail.com>
* sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.

View File

@ -703,7 +703,7 @@ libio-include = -I$(..)libio
# Note that we can't use -std=* in CPPFLAGS, because it overrides
# the implicit -lang-asm and breaks cpp behavior for .S files--notably
# it causes cpp to stop predefining __ASSEMBLER__.
CPPFLAGS = $($(subdir)-CPPFLAGS) $(+includes) $(defines) \
CPPFLAGS = $(CPPFLAGS-config) $($(subdir)-CPPFLAGS) $(+includes) $(defines) \
-include $(..)include/libc-symbols.h $(sysdep-CPPFLAGS) \
$(CPPFLAGS-$(suffix $@)) \
$(foreach lib,$(libof-$(basename $(@F))) \

View File

@ -106,6 +106,7 @@ CC = @CC@
CXX = @CXX@
BUILD_CC = @BUILD_CC@
CFLAGS = @CFLAGS@
CPPFLAGS-config = @CPPFLAGS@
ASFLAGS-config = @ASFLAGS_config@
AR = @AR@
MAKEINFO = @MAKEINFO@