]> git.ipfire.org Git - thirdparty/hostap.git/commit
Fix hostapd and wpa_supplicant build with binutils >= 2.24.x
authorRoger Zanoni <roger.zanoni@openbossa.org>
Mon, 17 Feb 2014 19:02:47 +0000 (15:02 -0400)
committerJouni Malinen <j@w1.fi>
Wed, 19 Feb 2014 12:10:12 +0000 (14:10 +0200)
commitb7cac4125413dedabc3d6c0bae8e3b334e161138
treeae5c606728d994800266f78ad9087a8e62a19192
parentb62d5b5450101676a0c05691b4bcd94e11426397
Fix hostapd and wpa_supplicant build with binutils >= 2.24.x

Using binutils >= 2.24.x and setting
CONFIG_WPA_TRACE/CONFIG_WPA_TRACE_BDF causes both builds to fail with
"#error config.h must be included before this header" message.

Since version 2.24.x, the bfd header checks for PACKAGE and
PACKAGE_VERSION macros.

As suggested in http://sourceware.org/bugzilla/show_bug.cgi?id=14243
projects that use bfd and don't use autotools should define a PACKAGE
macro.

Signed-off-by: Roger Zanoni <roger.zanoni@openbossa.org>
hostapd/Makefile
wpa_supplicant/Makefile