[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT PATCH] build: Suppress %destructor warning in bison 3.3



Add build flag to suppress the destructor warning later bison version

Signed-off-by: Sharan Santhanam <sharan.santhanam@xxxxxxxxx>
---
 support/kconfig/Makefile.rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/support/kconfig/Makefile.rules b/support/kconfig/Makefile.rules
index 78a9c81..223fe02 100644
--- a/support/kconfig/Makefile.rules
+++ b/support/kconfig/Makefile.rules
@@ -72,13 +72,13 @@ $(obj)/%.lex.c: $(src)/%.l FORCE
 # YACC
 # ---------------------------------------------------------------------------
 quiet_cmd_bison = YACC    $@
-cmd_bison = $(YACC) -o$@ -t -l $<
+cmd_bison = $(YACC) -Wno-yacc -o$@ -t -l $<
 
 $(obj)/%.tab.c: $(src)/%.y FORCE
        $(call if_changed,bison)
 
 quiet_cmd_bison_h = YACC    $@
-cmd_bison_h = $(YACC) -o/dev/null --defines=$@ -t -l $<
+cmd_bison_h = $(YACC) -Wno-yacc -o/dev/null --defines=$@ -t -l $<
 
 $(obj)/%.tab.h: $(src)/%.y FORCE
        $(call if_changed,bison_h)
-- 
2.7.4


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.