summaryrefslogtreecommitdiffstats
path: root/rtems/config/tools/rtems-gdb-6.8-1.cfg
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-03-01 14:33:22 +1100
committerChris Johns <chrisj@rtems.org>2016-03-01 14:33:22 +1100
commitb537e5536459e207fc8e56a1df3774c1700606d5 (patch)
tree74d039a6e0caec4ee9585befb534736a04ab3029 /rtems/config/tools/rtems-gdb-6.8-1.cfg
parentFix 4.10 and 4.9 building. (diff)
downloadrtems-source-builder-b537e5536459e207fc8e56a1df3774c1700606d5.tar.bz2
Clean up 4.9 build issues.
Add support so 4.9 builds on a recent FreeBSD using clang.
Diffstat (limited to 'rtems/config/tools/rtems-gdb-6.8-1.cfg')
-rw-r--r--rtems/config/tools/rtems-gdb-6.8-1.cfg8
1 files changed, 8 insertions, 0 deletions
diff --git a/rtems/config/tools/rtems-gdb-6.8-1.cfg b/rtems/config/tools/rtems-gdb-6.8-1.cfg
index 9159352..16f087c 100644
--- a/rtems/config/tools/rtems-gdb-6.8-1.cfg
+++ b/rtems/config/tools/rtems-gdb-6.8-1.cfg
@@ -8,11 +8,19 @@
%define gdb_version 6.8
#
+# Force the standard of C code for GCC.
+#
+%define build_cflags %{build_cflags} --std=gnu89 -Wno-return-type
+
+#
# RTEMS Build Set patches.
#
%source set gdb http://ftp.gnu.org/gnu/gdb/gdb-6.8a.tar.bz2
%patch add gdb %{rtems_gdb_patches}/gdb-6.8-rtems4.9-20091111.diff
+%hash sha512 gdb-6.8a.tar.bz2 5114fe14ab25dc085590acff3a6feb75eb93347e501c634548308c4f51b31416ea23b8e612dfc54da466d3e7471e210d8f7a12ff6c050e9e89920884e5a64008
+%hash sha512 gdb-6.8-rtems4.9-20091111.diff 2e6eb2bdeac4bba7c2fcaf701399148fc5de82dfa81e021111f5a20654afe5aad77d6fd0edbc31965107f2fe9a43738938d79a313836267ad69dc8509fcbf691
+
#
# The gdb build instructions. We use 6.xx Release 1.
#