diff make/solaris/makefiles/vm.make @ 4614:9a72ee84e61b

7122222: GC log is limited to 2G for 32-bit Summary: Manual backport to hsx24 from hsx25: 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: dcubed, jcoomes
author tamao
date Tue, 02 Jul 2013 15:08:27 -0700
parents 4135583e60cc
children
line wrap: on
line diff
--- a/make/solaris/makefiles/vm.make	Sat Jun 29 01:23:27 2013 +0200
+++ b/make/solaris/makefiles/vm.make	Tue Jul 02 15:08:27 2013 -0700
@@ -90,6 +90,11 @@
 # a time and date.
 vm_version.o: CXXFLAGS += ${JRE_VERSION}
 
+# Large File Support
+ifneq ($(LP64), 1)
+ostream.o: CXXFLAGS += -D_FILE_OFFSET_BITS=64
+endif # ifneq ($(LP64), 1)
+
 # CFLAGS_WARN holds compiler options to suppress/enable warnings.
 CFLAGS += $(CFLAGS_WARN)