mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Fix support for GCC being build as C++.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user