Mercurial > hg > truffle
comparison make/linux/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 | 90d6c221d4e5 |
comparison
equal
deleted
inserted
replaced
11025:fc8a1a5de78e | 11036:feae15578b2f |
---|---|
105 CXXFLAGS/BYFILE = $(CXXFLAGS/$@) | 105 CXXFLAGS/BYFILE = $(CXXFLAGS/$@) |
106 | 106 |
107 # File specific flags | 107 # File specific flags |
108 CXXFLAGS += $(CXXFLAGS/BYFILE) | 108 CXXFLAGS += $(CXXFLAGS/BYFILE) |
109 | 109 |
110 # Large File Support | |
111 ifneq ($(LP64), 1) | |
112 CXXFLAGS/ostream.o += -D_FILE_OFFSET_BITS=64 | |
113 endif # ifneq ($(LP64), 1) | |
110 | 114 |
111 # CFLAGS_WARN holds compiler options to suppress/enable warnings. | 115 # CFLAGS_WARN holds compiler options to suppress/enable warnings. |
112 CFLAGS += $(CFLAGS_WARN/BYFILE) | 116 CFLAGS += $(CFLAGS_WARN/BYFILE) |
113 | 117 |
114 # Do not use C++ exception handling | 118 # Do not use C++ exception handling |