diff options
author | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-05-31 17:25:41 +0000 |
---|---|---|
committer | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-05-31 17:25:41 +0000 |
commit | a44c8c3b1ee8ae1779fd8ee1ad556ed86a608bd2 (patch) | |
tree | e88d1126cb49f12ae276830176979bf2a5075453 /gcc/doc | |
parent | 0f2461978ad48e198ae1ebd0db9bb57bae3ae83e (diff) | |
download | gcc-a44c8c3b1ee8ae1779fd8ee1ad556ed86a608bd2.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188069 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
0 files changed, 0 insertions, 0 deletions