diff options
Diffstat (limited to 'usr/src/lib/libzpool/Makefile.com')
| -rw-r--r-- | usr/src/lib/libzpool/Makefile.com | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/src/lib/libzpool/Makefile.com b/usr/src/lib/libzpool/Makefile.com index 9861d99912..2b51d81224 100644 --- a/usr/src/lib/libzpool/Makefile.com +++ b/usr/src/lib/libzpool/Makefile.com @@ -77,6 +77,11 @@ CPPFLAGS += $(INCS) -DDEBUG -D_FAKE_KERNEL LINTFLAGS += -erroff=E_STATIC_UNUSED $(INCS) LINTFLAGS64 += -erroff=E_STATIC_UNUSED $(INCS) +# The following is needed to fix the SmartOS build; see OS-6582. We cannot do +# a conditional appendage to INCS, since that breaks the lint build. +CFLAGS += -isystem $(ROOT)/usr/include +CFLAGS64 += -isystem $(ROOT)/usr/include + CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-switch CERRWARN += -_gcc=-Wno-type-limits |
