syslinux: install helper programs to the host
[buildroot-gz.git] / package / wireshark / wireshark-0001-fix-wrong-cflags-for-build-assumption.patch
blobde30c81194ea80b7aff2194dd4001f9f9410c484
1 AC_WIRESHARK_GCC_CFLAGS_CHECK checks for valid CFLAGS against CC and pushes
2 them into CFLAGS and CFLAGS_FOR_BUILD.
3 This is wrong since CC_FOR_BUILD might be wildly different and older than CC
4 leading to build errors.
6 Upstream status: reported in tracker
7 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9507
9 Patch status: Interim to fix:
10 http://autobuild.buildroot.net/results/2b1/2b1a0654b649618422d65edf370b82476ba84491/
12 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
14 diff -Nura wireshark-1.10.3.orig/acinclude.m4 wireshark-1.10.3/acinclude.m4
15 --- wireshark-1.10.3.orig/acinclude.m4 2013-12-04 14:06:44.986074426 -0300
16 +++ wireshark-1.10.3/acinclude.m4 2013-12-04 14:25:36.496356791 -0300
17 @@ -1664,11 +1664,6 @@
18 # the saved value plus just the new option.
20 CFLAGS="$CFLAGS_saved $GCC_OPTION"
21 - #
22 - # Add it to the flags we use when building
23 - # build tools.
24 - #
25 - CFLAGS_FOR_BUILD="$CFLAGS_FOR_BUILD $GCC_OPTION"
26 if test "$2" != C ; then
28 # Add it to the C++ flags as well.
29 @@ -1687,11 +1682,6 @@
30 # the saved value plus just the new option.
32 CFLAGS="$CFLAGS_saved $GCC_OPTION"
33 - #
34 - # Add it to the flags we use when building
35 - # build tools.
36 - #
37 - CFLAGS_FOR_BUILD="$CFLAGS_FOR_BUILD $GCC_OPTION"
38 if test "$2" != C ; then
40 # Add it to the C++ flags as well.