discover/grub2: Ignore sign-compare warning for generated code
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Fri, 1 Apr 2016 00:38:19 +0000 (11:38 +1100)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Fri, 1 Apr 2016 00:38:19 +0000 (11:38 +1100)
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
discover/grub2/Makefile.am

index 496dac3fbab2bdb1932316af230cdc92d5a4cf4f..130ede88e18c0bae798fc8760ada482808d0aee6 100644 (file)
@@ -52,6 +52,6 @@ discover/grub2/grub2-lexer.h discover/grub2/grub2-lexer.c: \
 # We need to loosen our warnings for the generated lexer code.
 discover/grub2/%grub2-lexer.o discover/grub2/grub2-lexer.o: \
                AM_CFLAGS += -Wno-unused-parameter -Wno-missing-prototypes \
-                              -Wno-missing-declarations
+                              -Wno-missing-declarations -Wno-sign-compare
 
 $(discover_grub2_grub2_parser_ro_OBJECTS): discover/grub2/grub2-parser.h