kumquat-buildroot/package/wireshark/0001-fix-wrong-cflags-for-build-assumption.patch
Peter Korsgaard 298cd8eaa2 package/*: rename patches according to the new policy
Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345)

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-03 14:52:56 +01:00

39 lines
1.3 KiB
Diff

AC_WIRESHARK_GCC_CFLAGS_CHECK checks for valid CFLAGS against CC and pushes
them into CFLAGS and CFLAGS_FOR_BUILD.
This is wrong since CC_FOR_BUILD might be wildly different and older than CC
leading to build errors.
Upstream status: reported in tracker
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9507
Patch status: Interim to fix:
http://autobuild.buildroot.net/results/2b1/2b1a0654b649618422d65edf370b82476ba84491/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
diff -Nura wireshark-1.12.0.orig/acinclude.m4 wireshark-1.12.0/acinclude.m4
--- wireshark-1.12.0.orig/acinclude.m4 2014-09-04 15:45:38.365255309 -0300
+++ wireshark-1.12.0/acinclude.m4 2014-09-04 15:46:23.349810353 -0300
@@ -1755,10 +1755,6 @@
# just the new option.
#
CFLAGS="$CFLAGS_saved $GCC_OPTION"
- #
- # Add it to the flags we use when building build tools.
- #
- CFLAGS_FOR_BUILD="$CFLAGS_FOR_BUILD $GCC_OPTION"
],
[
AC_MSG_RESULT(yes)
@@ -1771,10 +1767,6 @@
# just the new option.
#
CFLAGS="$CFLAGS_saved $GCC_OPTION"
- #
- # Add it to the flags we use when building build tools.
- #
- CFLAGS_FOR_BUILD="$CFLAGS_FOR_BUILD $GCC_OPTION"
fi
],
[