broadcom_wl: eliminate compiler error with gcc-4.9-linaro
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 24 Oct 2014 18:05:51 +0000 (18:05 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 24 Oct 2014 18:05:51 +0000 (18:05 +0000)
commit9f17e4ff0eeb5f396496977ab8bfa3c24faae7d9
tree58def24d123e97acd162fd73ba0e96c048baa7d7
parentc3ba1ff949ccfe384c8c465f91fd828d6e9f4540
broadcom_wl: eliminate compiler error with gcc-4.9-linaro

Attempting to build broadcom_wl (from trunk) with the linaro 4.9.x
toolchain produces the following errors:

<...>/wl_linux.c: In function 'wl_dump_ver':
<...>/wl_linux.c:2302:3: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
   __DATE__, __TIME__, EPI_VERSION_STR);
   ^
<...>/wl_linux.c:2302:13: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
   __DATE__, __TIME__, EPI_VERSION_STR);
             ^
cc1: some warnings being treated as errors

Remove the use of the __DATE__ and __TIME__ macros, as the info is not
really useful.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43046 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/kernel/broadcom-wl/patches/914-eliminate-date-time-error.patch [new file with mode: 0644]