summaryrefslogtreecommitdiffstats
path: root/libjava/Makefile.am
diff options
context:
space:
mode:
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-15 00:58:41 +0000
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-15 00:58:41 +0000
commit7a04e9169c13eac1178b780842cecebe793cd55e (patch)
treef575402da639d9a031536021ae9a3b419a674da1 /libjava/Makefile.am
parentc11ba43cc945eb28717262bd13af00a4c978957f (diff)
downloadppe42-gcc-7a04e9169c13eac1178b780842cecebe793cd55e.tar.gz
ppe42-gcc-7a04e9169c13eac1178b780842cecebe793cd55e.zip
2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
PR libgcj/16204 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable large file support. * Makefile.in: Rebuilt. * testsuite/libjava.lang/LargeFile.java: New test case. * testsuite/libjava.lang/LargeFile.out: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84733 138bc75d-0d04-0410-961f-82ee72b054a4
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