Mercurial > hg > graal-jvmci-8
diff make/solaris/makefiles/vm.make @ 11036:feae15578b2f
7122222: GC log is limited to 2G for 32-bit
Summary: Enable large file support for generated 32-bit ostream.o on Linux and Solaris (as only the two need this) by setting -D_FILE_OFFSET_BITS=64 in compilation
Reviewed-by: tbell, mgerdin, dcubed
Contributed-by: tamao <tao.mao@oracle.com>
author | tamao |
---|---|
date | Fri, 07 Jun 2013 09:46:58 -0700 |
parents | f2110083203d |
children | 6b0fd0964b87 67d6392ed21e f933a15469d4 |
line wrap: on
line diff
--- a/make/solaris/makefiles/vm.make Fri Jun 21 00:59:12 2013 -0700 +++ b/make/solaris/makefiles/vm.make Fri Jun 07 09:46:58 2013 -0700 @@ -95,6 +95,10 @@ # File specific flags CXXFLAGS += $(CXXFLAGS/BYFILE) +# Large File Support +ifneq ($(LP64), 1) +CXXFLAGS/ostream.o += -D_FILE_OFFSET_BITS=64 +endif # ifneq ($(LP64), 1) # CFLAGS_WARN holds compiler options to suppress/enable warnings. CFLAGS += $(CFLAGS_WARN)