diff options
author | Robert Mustacchi <rm@fingolfin.org> | 2021-09-23 07:03:05 -0700 |
---|---|---|
committer | Robert Mustacchi <rm@fingolfin.org> | 2021-09-27 07:57:53 -0700 |
commit | 1b09309c5ebed5c0bf14e2b396bf626c5aa30034 (patch) | |
tree | 73f25b52706ca4850ba4e223fbca3353f27e1b8c /usr/src/tools | |
parent | 279209130920025623a312e02980ec58c0f39430 (diff) | |
download | illumos-gate-1b09309c5ebed5c0bf14e2b396bf626c5aa30034.tar.gz |
14102 cpcgen fails due to 64-bit inodes on NFS
Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
Reviewed by: Peter Tribble <peter.tribble@gmail.com>
Reviewed by: Ryan Goodfellow <ryan.goodfellow@oxide.computer>
Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/tools')
-rw-r--r-- | usr/src/tools/cpcgen/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/src/tools/cpcgen/Makefile b/usr/src/tools/cpcgen/Makefile index 13da2e0017..c3d798be18 100644 --- a/usr/src/tools/cpcgen/Makefile +++ b/usr/src/tools/cpcgen/Makefile @@ -22,6 +22,12 @@ LDLIBS += -lnvpair NATIVE_LIBS += libnvpair.so CPPFLAGS += -I$(SRC)/lib/json_nvlist/ -I$(SRC)/lib/libcustr/common +# +# While cpcgen doesn't do 64-bit I/O, builds on NFS in particular have +# failed due to what is probably the use of 64-bit inodes. +# +CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 + all: $(PROG) install: all .WAIT $(ROOTONBLDMACHPROG) |