From 3c9ece5d637ea64d9da10f4a530c0efca8ca03ff Mon Sep 17 00:00:00 2001 From: Richard Lowe Date: Mon, 29 Oct 2018 18:23:00 +0000 Subject: [PATCH 14/34] libgo: libelf on illumos doesn't support largefile Originally from pkgsrc --- libgo/runtime/proc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libgo/runtime/proc.c b/libgo/runtime/proc.c index 6f7d2e27996..eb0310ad69e 100644 --- a/libgo/runtime/proc.c +++ b/libgo/runtime/proc.c @@ -12,6 +12,10 @@ #include "config.h" #ifdef HAVE_DL_ITERATE_PHDR +#ifdef __sun +#undef _FILE_OFFSET_BITS +#define _FILE_OFFSET_BITS 32 +#endif #include #endif -- 2.31.1