diff options
author | Jason King <jason.king@joyent.com> | 2018-04-25 15:51:01 -0500 |
---|---|---|
committer | Jason King <jason.king@joyent.com> | 2018-04-26 11:11:17 -0500 |
commit | cdf5d1eb588de01400ef6c98a9dcd9448ce53c41 (patch) | |
tree | e676e1932a4a1cab6fd002feb579990746e05649 | |
parent | a4e24f29df7daf277f3f81dde72ca89efb7f5ade (diff) | |
download | illumos-joyent-OS-6909.tar.gz |
OS-6909 mandoc(1) should be large file awareOS-6909
-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 \ |