aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2023-06-20 19:36:43 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2023-06-20 19:36:43 +0000
commitf13a7fabfe7693f061e499a81e4560f33cafbb7d (patch)
tree85fb96108f10647fce13cc319edf86e157abac37
parentad79b018dc00c2b64e65ebb5c8a14fafa0e99a3e (diff)
iasl: Disable -Wunused-but-set-variable for a couple of files.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D40669
-rw-r--r--usr.sbin/acpi/iasl/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/acpi/iasl/Makefile b/usr.sbin/acpi/iasl/Makefile
index 6b95cc1d7457..3a490962f216 100644
--- a/usr.sbin/acpi/iasl/Makefile
+++ b/usr.sbin/acpi/iasl/Makefile
@@ -81,6 +81,8 @@ WARNS?= 2
MAN= iasl.8
CFLAGS+= -DACPI_ASL_COMPILER -I.
+CWARNFLAGS.aslrestype2s.c= ${NO_WUNUSED_BUT_SET_VARIABLE}
+CWARNFLAGS.dmextern.c= ${NO_WUNUSED_BUT_SET_VARIABLE}
LFLAGS= -i -s
DLFLAGS=-i
YFLAGS= -d