Wireshark-bugs: [Wireshark-bugs] [Bug 9507] New: AC_WIRESHARK_COMPILER_FLAGS_CHECK / AC_WIRESHAR
Date: Wed, 04 Dec 2013 17:31:33 +0000
Bug ID 9507
Summary AC_WIRESHARK_COMPILER_FLAGS_CHECK / AC_WIRESHARK_GCC_CFLAGS_CHECK issues cross-compiling
Classification Unclassified
Product Wireshark
Version 1.10.3
Hardware All
OS All
Status UNCONFIRMED
Severity Normal
Priority Low
Component Extras
Assignee bugzilla-admin@wireshark.org
Reporter gustavo@zacarias.com.ar

Build Information:
None, build failure.
--
The AC_WIRESHARK_GCC_CFLAGS_CHECK macro (1.10.x) or
AC_WIRESHARK_COMPILER_FLAGS_CHECK macro (1.11.x) assumes that any valid CFLAGS
checked against CC is also valid for CC_FOR_BUILD.
This is wrong when cross-compiling where CC_FOR_BUILD may be quite different
and older than CC leading to build errors.

The correct solution would be for the macro to not touch CFLAGS_FOR_BUILD
unless it's checking against CC_FOR_BUILD, or at all.


You are receiving this mail because:
  • You are watching all bug changes.