diff options
author | Jason King <jason.king@joyent.com> | 2018-04-25 15:51:01 -0500 |
---|---|---|
committer | Dan McDonald <danmcd@joyent.com> | 2018-05-01 10:43:37 -0400 |
commit | 73769bc1e3c74ccdf2eafae366eacebe85a6f6ff (patch) | |
tree | edf1195b35d11d1340040e4dcd1cc506b03cd330 | |
parent | 2d3f5634d08413d6015ca536f1017b63a8609723 (diff) | |
download | illumos-joyent-73769bc1e3c74ccdf2eafae366eacebe85a6f6ff.tar.gz |
9508 mandoc(1) should be large file aware
9509 illumos#8424 missed -nostdinc flag
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
Approved by: Dan McDonald <danmcd@joyent.com>
-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 c63e900c75..c60f0893ed 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 @@ -25,6 +25,7 @@ OBJS += fts.o \ recallocarray.o \ strtonum.o +CPPFLAGS += -_gcc=-nostdinc CPPFLAGS += -I. -include fts.h CPPFLAGS += -I$(NATIVE_ADJUNCT)/include LDFLAGS += -L$(NATIVE_ADJUNCT)/lib -R$(NATIVE_ADJUNCT)/lib |