summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Ross <gordon.ross@tintri.com>2021-04-23 13:43:26 -0400
committerDan McDonald <danmcd@joyent.com>2021-04-26 10:12:56 -0400
commitc6f8822c6c210e5369be46c7d968ab98e7c99447 (patch)
tree9e1250bffbe220d38a9a8cc4ee02a29ca61a1831
parent4137be2245189cc35cc8e783d68308993eed1e15 (diff)
downloadillumos-joyent-c6f8822c6c210e5369be46c7d968ab98e7c99447.tar.gz
Fix warning in cmd/acpi/iasl
-rw-r--r--usr/src/cmd/acpi/iasl/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/usr/src/cmd/acpi/iasl/Makefile b/usr/src/cmd/acpi/iasl/Makefile
index dae9b4c9db..e728356158 100644
--- a/usr/src/cmd/acpi/iasl/Makefile
+++ b/usr/src/cmd/acpi/iasl/Makefile
@@ -132,15 +132,20 @@ prparserlex.c prparserparse.c prparser.y.h := PARSER = PrParser
prparserlex.c prparserparse.c prparser.y.h := LY_BASE = prparser
$(LEX_C_FILES) := LEXFILE = $(LY_BASE).l
-$(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)
+# intel isal has
+# LFLAGS += -i -s
+# DLFLAGS += -i
+# MFLAGS= -P -I$(ASL_COMPILER)
GM4FLAGS = -P
-LFLAGS = -i -s
+LFLAGS = -i
+aslcompilerlex.c prparserlex.c := LFLAGS += -s
.KEEP_STATE: