diff options
author | Diego Novillo <dnovillo@google.com> | 2012-05-31 13:25:41 -0400 |
---|---|---|
committer | Diego Novillo <dnovillo@gcc.gnu.org> | 2012-05-31 13:25:41 -0400 |
commit | bdd5dc28aa04c3bc6b10fe6bdd01ddbd59e689c7 (patch) | |
tree | e88d1126cb49f12ae276830176979bf2a5075453 /gcc/tree-optimize.c | |
parent | 6f4185d7863f05abadb10550b26eb659a2b1eace (diff) | |
download | gcc-bdd5dc28aa04c3bc6b10fe6bdd01ddbd59e689c7.zip gcc-bdd5dc28aa04c3bc6b10fe6bdd01ddbd59e689c7.tar.gz gcc-bdd5dc28aa04c3bc6b10fe6bdd01ddbd59e689c7.tar.bz2 |
Fix compilation of build/*.o when using C++.
Found this while testing the C++ conversion for vec.[ch] on the
cxx-conversion branch. We do not build the build/*.o files with g++,
so I was getting lots of syntax errors while compiling build/vec.o.
2012-05-31 Diego Novillo <dnovillo@google.com>
* configure.ac (CXX_FOR_BUILD): Define and substitute.
(BUILD_CXXFLAGS): Define and substitute.
* Makefile.in (BUILD_CXXFLAGS): Define.
(CXX_FOR_BUILD): Define.
(COMPILER_FOR_BUILD): Set to CXX_FOR_BUILD if building with C++.
(LINKER_FOR_BUILD): Likewise.
(BUILD_COMPILERFLAGS): Set to BUILD_CXXFLAGS if building with C++.
(BUILD_LINKERFLAGS): Likewise.
* configure: Regenerate.
From-SVN: r188069
Diffstat (limited to 'gcc/tree-optimize.c')
0 files changed, 0 insertions, 0 deletions