summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2016-08-22 21:29:11 +0000
committerJoshua M. Clulow <jmc@joyent.com>2016-08-22 21:39:58 +0000
commit407b42750155d7261ed7a0b45c412ae6167f4029 (patch)
tree13040fea348e7466204526d2d00398e3cc37a875 /usr/src
parentccb29747171492eeb515a6a75575eae95a8cb5a8 (diff)
downloadillumos-joyent-407b42750155d7261ed7a0b45c412ae6167f4029.tar.gz
OS-5604 improve tools mandoc Makefile fix
Reviewed by: Joshua M. Clulow <jmc@joyent.com> Approved by: Joshua M. Clulow <jmc@joyent.com>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/tools/mandoc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/tools/mandoc/Makefile b/usr/src/tools/mandoc/Makefile
index 0aa0dae4ea..314f52ace2 100644
--- a/usr/src/tools/mandoc/Makefile
+++ b/usr/src/tools/mandoc/Makefile
@@ -19,7 +19,8 @@ CMDDIR= $(SRC)/cmd/mandoc
include ../Makefile.tools
include $(CMDDIR)/Makefile.common
-CPPFLAGS += $(CPPFLAGS.master)
+CPPFLAGS += -_gcc=-nostdinc -I/usr/include -I$(NATIVE_ADJUNCT)/include
+LDFLAGS += -L$(NATIVE_ADJUNCT)/lib -R$(NATIVE_ADJUNCT)/lib
.KEEP_STATE: