summaryrefslogtreecommitdiffstats
path: root/libjava/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/Makefile.am')
-rw-r--r--libjava/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/libjava/Makefile.am b/libjava/Makefile.am
index fb775613195..7e5f6af001a 100644
--- a/libjava/Makefile.am
+++ b/libjava/Makefile.am
@@ -111,6 +111,8 @@ AM_CXXFLAGS = -fno-rtti -fnon-call-exceptions $(THREADCXXFLAGS) \
-fdollars-in-identifiers \
## Detect bugs in the verifier implementation, and maybe other places.
-Wswitch-enum \
+## Some systems, including Linux, need this to enable > 2GB file support.
+ -D_FILE_OFFSET_BITS=64 \
@LIBGCJ_CXXFLAGS@ @X_CFLAGS@ $(WARNINGS) -D_GNU_SOURCE \
-DPREFIX="\"$(prefix)\"" -DLIBDIR="\"$(libdir)\"" \
-DBOOT_CLASS_PATH="\"$(jardir)/$(jar_DATA)\"" \
OpenPOWER on IntegriCloud