From: Hauke Mehrtens Date: Sat, 7 Jan 2017 18:36:46 +0000 (+0100) Subject: Revert "gdb: fix build with gcc 4.1.2 as host compiler" X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4061c8eb5378ea279e77009f34c562e6e01fdeb3;p=openwrt%2Fstaging%2Fluka.git Revert "gdb: fix build with gcc 4.1.2 as host compiler" Support for such old gcc version is not needed. This reverts commit 2694d43b052a1bf1721ae477dcdbe787f5995d35. Signed-off-by: Hauke Mehrtens --- diff --git a/package/devel/gdb/patches/002-remove-arguments.patch b/package/devel/gdb/patches/002-remove-arguments.patch deleted file mode 100644 index a263cb396a..0000000000 --- a/package/devel/gdb/patches/002-remove-arguments.patch +++ /dev/null @@ -1,16 +0,0 @@ -# The additional warnings are causing compile errors on gcc version 4.1.2 as -# a host compiler. - ---- a/sim/igen/configure -+++ b/sim/igen/configure -@@ -4768,8 +4768,8 @@ build_warnings="-Wall -Wdeclaration-afte - -Wpointer-sign \ - -Wno-unused -Wunused-value -Wunused-function \ - -Wno-switch -Wno-char-subscripts -Wmissing-prototypes ---Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type \ ---Wold-style-declaration -Wold-style-definition" -+-Wdeclaration-after-statement \ -+-Wold-style-definition" - - # Enable -Wno-format by default when using gcc on mingw since many - # GCC versions complain about %I64.