changeset 24395:60844ed5d3b4

12088 Cannot build iasl with bison 3.5 [-Werror=char-subscripts] Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
author Andy Fiddaman <omnios@citrus-it.co.uk>
date Mon, 16 Dec 2019 18:55:34 +0000
parents c76e8b8553c2
children edcb59c552b4
files usr/src/cmd/acpi/iasl/Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/cmd/acpi/iasl/Makefile	Tue Dec 17 10:26:26 2019 +0200
+++ b/usr/src/cmd/acpi/iasl/Makefile	Mon Dec 16 18:55:34 2019 +0000
@@ -126,6 +126,8 @@
 $(LEX_C_FILES) := LEXFILE = $(LY_BASE).l
 $(YACC_FILES) := YTABC = $(LY_BASE)parse.c
 
+$(YACC_C_FILES:.c=.o) := CERRWARN += -_gcc=-Wno-char-subscripts
+
 OBJS += $(LEX_C_FILES:.c=.o) $(YACC_C_FILES:.c=.o)
 
 GM4FLAGS = -P
@@ -162,6 +164,4 @@
 	$(RM) $(OBJS) $(INTERMEDIATES) $(PROG)
 	$(RM) -r AslCompiler.?????? DtParser.?????? PrParser.??????
 
-lint:	lint_SRCS
-
 include ../../Makefile.targ