b43-tools: fix compile error: undefined reference to `yydebug'
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 28 Feb 2013 10:43:02 +0000 (10:43 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 28 Feb 2013 10:43:02 +0000 (10:43 +0000)
commitf0a957092aabbf8f4cc630780c29e167003a65cb
treebf48e1d931f1e33be6b9a6354d836b786c3b1cd4
parentcec77e2b60434621be468cec4c9e9c421e61547c
b43-tools: fix compile error: undefined reference to `yydebug'

With bison 2.7 YYDEBUG will be set to 0 if it was not set, then #ifdef
YYDEBUG returns true, but bison 2.7 treets YYDEBUG 0 as not set.

This fixes the following error:
obj/main.o: In function `main':
main.c:(.text.startup+0xaf): undefined reference to `yydebug'
collect2: error: ld returned 1 exit status

This closes #13093.

SVN-Revision: 35830
tools/b43-tools/patches/100-b43-asm-fix-compile-error-undefined-reference-to-yyd.patch [new file with mode: 0644]