summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Fiddaman <omnios@citrus-it.co.uk>2019-01-27 21:53:10 +0000
committerRobert Mustacchi <rm@joyent.com>2019-01-29 02:46:40 +0000
commit8b68969e8397fdd77b63574c1184854cbecdb67f (patch)
tree2cf5c9c3a59674738fcb6702c449b4f6f565a328
parent8549f3a1b574354ace01065ded5d1da81c2b91aa (diff)
downloadillumos-joyent-8b68969e8397fdd77b63574c1184854cbecdb67f.tar.gz
10312 iasl does not build with bison 3.3
Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Robert Mustacchi <rm@joyent.com>
-rw-r--r--usr/src/cmd/acpi/iasl/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/cmd/acpi/iasl/Makefile b/usr/src/cmd/acpi/iasl/Makefile
index 3e1183de88..c71bc78525 100644
--- a/usr/src/cmd/acpi/iasl/Makefile
+++ b/usr/src/cmd/acpi/iasl/Makefile
@@ -9,6 +9,7 @@
# http://www.illumos.org/license/CDDL.
#
# Copyright (c) 2018, Joyent, Inc.
+# Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
#
# Adapted from acpica/generate/unix/iasl/Makefile, which lacked a copyright
# notice.
@@ -142,7 +143,7 @@ $(LEX_C_FILES):
%parse.c %.y.h: %.y
_suffix=`echo $@ | awk -F. '{print $$NF}'` && \
_d=`mktemp -d $(PARSER).XXXXXX` && \
- (cd $$_d && $(BISON) -y -v -d -p$(PARSER) ../$(LY_BASE).y) && \
+ (cd $$_d && $(BISON) -o y.tab.c -v -d -p$(PARSER) ../$(LY_BASE).y) && \
mv $$_d/y.tab.$$_suffix $@; \
_ret=$$?; \
rm -rf $$_d; \