diff options
author | Chris Johns <chrisj@rtems.org> | 2022-01-25 02:33:19 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2022-01-25 17:05:51 +1100 |
commit | 8aee2436829df1bc61156880b989d78fd6848a04 (patch) | |
tree | 30a3e454263d610d63955fad1a5399559a338f73 | |
parent | gdb: Update common to the master version (diff) | |
download | rtems-source-builder-8aee2436829df1bc61156880b989d78fd6848a04.tar.bz2 |
gcc-4.9: Set the c++ standard to c++11 as the build breaks with later standards
Closes #4586
-rw-r--r-- | rtems/config/tools/rtems-gcc-4.9.3-newlib-2.2.0-20150423-1.cfg | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rtems/config/tools/rtems-gcc-4.9.3-newlib-2.2.0-20150423-1.cfg b/rtems/config/tools/rtems-gcc-4.9.3-newlib-2.2.0-20150423-1.cfg index b477628..4d300be 100644 --- a/rtems/config/tools/rtems-gcc-4.9.3-newlib-2.2.0-20150423-1.cfg +++ b/rtems/config/tools/rtems-gcc-4.9.3-newlib-2.2.0-20150423-1.cfg @@ -34,6 +34,11 @@ %endif +# +# Newer hosts compilers default to newer C++ versions that will not build 4.9 +# +%define build_cxxflags %{build_cxxflags} -std=c++11 +%define host_cxxflags %{host_cxxflags} -std=c++11 # # The gcc/newlib build instructions. |