diff options
-rw-r--r-- | usr/src/cmd/mandoc/Makefile.common | 3 | ||||
-rw-r--r-- | usr/src/tools/mandoc/Makefile | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/usr/src/cmd/mandoc/Makefile.common b/usr/src/cmd/mandoc/Makefile.common index ac5b6fe2ac..e47ef79569 100644 --- a/usr/src/cmd/mandoc/Makefile.common +++ b/usr/src/cmd/mandoc/Makefile.common @@ -12,6 +12,7 @@ # # Copyright 2014 Garrett D'Amore <garrett@damore.org> # Copyright 2017 Nexenta Systems, Inc. +# Copyright 2018, Joyent, Inc. # PROG= mandoc @@ -78,6 +79,6 @@ OBJS += compat_ohash.o CFLAGS += $(CC_VERBOSE) CSTD = $(CSTD_GNU99) -CPPFLAGS += -DOSNAME="\"illumos\"" +CPPFLAGS += -DOSNAME="\"illumos\"" -D_FILE_OFFSET_BITS=64 LDLIBS += -lz diff --git a/usr/src/tools/mandoc/Makefile b/usr/src/tools/mandoc/Makefile index e6b9571841..e3b1b39422 100644 --- a/usr/src/tools/mandoc/Makefile +++ b/usr/src/tools/mandoc/Makefile @@ -11,7 +11,7 @@ # # Copyright 2017 Nexenta Systems, Inc. -# Copyright 2017 Joyent, Inc. +# Copyright 2018 Joyent, Inc. # CMDDIR= $(SRC)/cmd/mandoc @@ -21,6 +21,7 @@ include $(SRC)/tools/Makefile.tools include $(CMDDIR)/Makefile.common CPPFLAGS += -_gcc=-nostdinc -I/usr/include -I$(NATIVE_ADJUNCT)/include +CPPFLAGS += -D_FILE_OFFSET_BITS=64 LDFLAGS += -L$(NATIVE_ADJUNCT)/lib -R$(NATIVE_ADJUNCT)/lib OBJS += fts.o \ reallocarray.o \ |