b43-tools: get rid of the libfl dependency to fix build errors on mac os x

SVN-Revision: 33934
This commit is contained in:
Felix Fietkau 2012-10-25 16:39:38 +00:00
parent 1b8688dd3e
commit b69b9c5328
2 changed files with 15 additions and 0 deletions

View File

@ -29,6 +29,7 @@ define Host/Compile
+$(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR)/assembler \
CFLAGS="$(HOST_CFLAGS) -include endian.h" \
$(HOST_MAKE_FLAGS) \
LDFLAGS= \
$(1) QUIET_SPARSE=:
endef

View File

@ -0,0 +1,14 @@
--- a/assembler/main.c
+++ b/assembler/main.c
@@ -1268,6 +1268,11 @@ static void initialize(void)
#endif /* YYDEBUG */
}
+int yywrap(void)
+{
+ return 1;
+}
+
int main(int argc, char **argv)
{
int err, res = 1;