@@ -105,10 +105,14 @@ CXXFLAGS/BYFILE = $(CXXFLAGS/$@) # File specific flags CXXFLAGS += $(CXXFLAGS/BYFILE) +# Large File Support +ifneq ($(LP64), 1) +CXXFLAGS/ostream.o += -D_FILE_OFFSET_BITS=64 +endif # ifneq ($(LP64), 1) ifndef JAVASE_EMBEDDED ifneq (${ARCH},arm) CFLAGS += -DINCLUDE_TRACE endif