gdb: fix build with gcc 4.1.2 as host compiler
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 1 Aug 2016 20:25:54 +0000 (22:25 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 1 Aug 2016 20:25:54 +0000 (22:25 +0200)
commit2694d43b052a1bf1721ae477dcdbe787f5995d35
treecece1ed5518161e037d247e4c9caf605656f8bcb
parent34bffe580675e38010cf2ac23101b63168faa69b
gdb: fix build with gcc 4.1.2 as host compiler

The additional warnings are causing compile errors on gcc version 4.1.2
as a host compiler.

cc -c  -Wall -Wdeclaration-after-statement -Wpointer-arith
-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 -Wformat-nonliteral  -I. -I. -I./../../include
filter_host.c
cc1: error: unrecognized command line option "-Wempty-body"
cc1: error: unrecognized command line option "-Wmissing-parameter-type"
cc1: error: unrecognized command line option "-Wold-style-declaration"
cc1: error: unrecognized command line option "-Wempty-body"
cc1: error: unrecognized command line option "-Wmissing-parameter-type"
cc1: error: unrecognized command line option "-Wold-style-declaration"

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/devel/gdb/patches/002-remove-arguments.patch [new file with mode: 0644]