diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-09-19 12:41:04 -0700 |
---|---|---|
committer | Roland McGrath <mcgrathr@chromium.org> | 2011-09-19 12:41:04 -0700 |
commit | 1c3b002bbb2935a526ef38b32d0c7375b7ee3b54 (patch) | |
tree | d5f3a9118f039bbdf8f82314ccb28610650d5054 | |
parent | 88738eb6e9e5a9d7d7977488519aaffb6263310c (diff) | |
download | glibc-1c3b002bbb2935a526ef38b32d0c7375b7ee3b54.tar.gz glibc-1c3b002bbb2935a526ef38b32d0c7375b7ee3b54.tar.xz glibc-1c3b002bbb2935a526ef38b32d0c7375b7ee3b54.zip |
Use CPPFLAGS from configure.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Makeconfig | 2 | ||||
-rw-r--r-- | config.make.in | 1 |
3 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index c4ea055c9d..0b723f4a5e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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. diff --git a/Makeconfig b/Makeconfig index 96aacda449..8195245052 100644 --- a/Makeconfig +++ b/Makeconfig @@ -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))) \ diff --git a/config.make.in b/config.make.in index cca3954d73..2181d05ce3 100644 --- a/config.make.in +++ b/config.make.in @@ -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@ |