summaryrefslogtreecommitdiff
path: root/usr/src/tools/mandoc
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/tools/mandoc')
-rw-r--r--usr/src/tools/mandoc/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/src/tools/mandoc/Makefile b/usr/src/tools/mandoc/Makefile
index 5a0d085b3c..89afe86788 100644
--- a/usr/src/tools/mandoc/Makefile
+++ b/usr/src/tools/mandoc/Makefile
@@ -11,7 +11,7 @@
#
# Copyright 2017 Nexenta Systems, Inc.
-# Copyright 2018 Joyent, Inc.
+# Copyright 2019 Joyent, Inc.
#
CMDDIR= $(SRC)/cmd/mandoc
@@ -20,9 +20,9 @@ LCDIR= $(SRC)/lib/libc/port
include $(SRC)/tools/Makefile.tools
include $(CMDDIR)/Makefile.common
-CPPFLAGS += -_gcc=-nostdinc
-CPPFLAGS += -I$(NATIVE_ADJUNCT)/include
-LDFLAGS += -L$(NATIVE_ADJUNCT)/lib -R$(NATIVE_ADJUNCT)/lib
+CPPFLAGS += -_gcc=-nostdinc -I/usr/include -I$(ADJUNCT_PROTO)/usr/include
+CPPFLAGS += -D_FILE_OFFSET_BITS=64
+LDFLAGS += -L$(ADJUNCT_PROTO)/lib -R$(ADJUNCT_PROTO)/lib
# 3rd party code
SMATCH=off