Fix support for GCC being build as C++.

This commit is contained in:
Chris Johns
2013-02-20 16:39:41 +11:00
parent 4f8fb656c4
commit 4f5321fa65
2 changed files with 4 additions and 0 deletions

View File

@@ -176,6 +176,7 @@ export SB_BUILD_ROOT
%{?_targetcflags:CFLAGS_FOR_TARGET="%{_targetcflags}"}
%{?_targetcxxflags:CXXFLAGS_FOR_TARGET="%{_targetcxxflags}"}
export CFLAGS_FOR_TARGET
export CXXFLAGS_FOR_TARGET
# Default environment set up.
LANG=C
export LANG