summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/amd64/Makefile
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2019-04-14 16:03:30 -0700
committerJohn Levon <john.levon@joyent.com>2019-04-24 08:32:04 -0700
commit32e09e17e4529edf39ffb44fb13cdb6a0fb45733 (patch)
tree352c0795833535cdd708fc680926a3b174b07f83 /usr/src/lib/libc/amd64/Makefile
parent8e718be9d8b2bb15811a2dc0b61cbb5cc5fa3070 (diff)
downloadillumos-gate-32e09e17e4529edf39ffb44fb13cdb6a0fb45733.tar.gz
10804 Enable unused warnings outside of uts
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/lib/libc/amd64/Makefile')
-rw-r--r--usr/src/lib/libc/amd64/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/lib/libc/amd64/Makefile b/usr/src/lib/libc/amd64/Makefile
index 29e76ac16e..b981d952c3 100644
--- a/usr/src/lib/libc/amd64/Makefile
+++ b/usr/src/lib/libc/amd64/Makefile
@@ -1037,6 +1037,8 @@ CERRWARN += -_gcc=-Wno-clobbered
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += -_gcc=-Wno-address
+$(RELEASE_BUILD)CERRWARN += -_gcc=-Wno-unused
+
# not linted
SMATCH=off