summaryrefslogtreecommitdiff
path: root/gcc/Makefile.in
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2014-01-28 07:08:22 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2014-01-28 07:08:22 +0000
commit18350b2ed50994adf75be77f4b0abd8d33c4e4e8 (patch)
treed10ab80cdafea774b05d0eb0dc1a17061b8c317c /gcc/Makefile.in
parent237dc3148831b6d87de4413a2e05f8f6dc0d6a9b (diff)
downloadgcc-18350b2ed50994adf75be77f4b0abd8d33c4e4e8.tar.gz
* Makefile.in (BUILD_CPPFLAGS): Do not use ALL_CPPFLAGS.
* configure.ac <recursive call for build != host>: Define GENERATOR_FILE. Comment. Use CXX_FOR_BUILD, CXXFLAGS_FOR_BUILD and LD_FOR_BUILD too. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207171 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r--gcc/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index d491fcf8b21..a1753685309 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -761,7 +761,8 @@ BUILD_LINKERFLAGS = $(BUILD_CXXFLAGS)
# Native linker and preprocessor flags. For x-fragment overrides.
BUILD_LDFLAGS=@BUILD_LDFLAGS@
-BUILD_CPPFLAGS=$(ALL_CPPFLAGS)
+BUILD_CPPFLAGS= -I. -I$(@D) -I$(srcdir) -I$(srcdir)/$(@D) \
+ -I$(srcdir)/../include @INCINTL@ $(CPPINC) $(CPPFLAGS)
# Actual name to use when installing a native compiler.
GCC_INSTALL_NAME := $(shell echo gcc|sed '$(program_transform_name)')