From baeff9708eb16a669c72cdebb32062ef1f6e6abc Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Tue, 17 Aug 2004 16:10:02 +0000 Subject: [PATCH] Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read. 2004-08-17 Michael Koch * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read. * Makefile.in: Regenerated. From-SVN: r86130 --- libjava/ChangeLog | 5 +++++ libjava/Makefile.am | 24 ++++++++++++++++-------- libjava/Makefile.in | 13 ++++++++++--- 3 files changed, 31 insertions(+), 11 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 70105bbe38f..a5de0d47a80 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2004-08-17 Michael Koch + + * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read. + * Makefile.in: Regenerated. + 2004-08-16 Tom Tromey PR java/8473: diff --git a/libjava/Makefile.am b/libjava/Makefile.am index c4522759e49..48632655912 100644 --- a/libjava/Makefile.am +++ b/libjava/Makefile.am @@ -93,17 +93,25 @@ JAVAC = $(GCJ_WITH_FLAGS) -C GCC_UNWIND_INCLUDE = @GCC_UNWIND_INCLUDE@ WARNINGS = -Wextra -Wall -## We need _GNU_SOURCE defined for some Linux builds. It doesn't hurt -## to always define it. -AM_CXXFLAGS = -fno-rtti -fnon-call-exceptions $(THREADCXXFLAGS) \ -## Some systems don't allow `$' in identifiers by default, so we force it. +## Some systems don't allow `$' in identifiers by default, so we force +## it with -fdollars-in-identifiers. -Wswitch-enum detects bugs in +## the verifier implementation, and maybe other places. We need +## _GNU_SOURCE defined for some Linux builds. It doesn't hurt to +## always define it. Some systems, including Linux, need +## -D_FILE_OFFSET_BITS=64 to enable > 2GB file support. +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)\"" \ + @LIBGCJ_CXXFLAGS@ \ + @X_CFLAGS@ \ + $(WARNINGS) \ + -D_GNU_SOURCE \ + -DPREFIX="\"$(prefix)\"" \ + -DLIBDIR="\"$(libdir)\"" \ -DBOOT_CLASS_PATH="\"$(jardir)/$(jar_DATA)\"" \ -DJAVA_EXT_DIRS="\"$(jardir)/ext\"" if USING_GCC diff --git a/libjava/Makefile.in b/libjava/Makefile.in index bb0c3c341cc..4ca2c39d755 100644 --- a/libjava/Makefile.in +++ b/libjava/Makefile.in @@ -218,12 +218,19 @@ JAVAC = $(GCJ_WITH_FLAGS) -C GCC_UNWIND_INCLUDE = @GCC_UNWIND_INCLUDE@ WARNINGS = -Wextra -Wall -AM_CXXFLAGS = -fno-rtti -fnon-call-exceptions $(THREADCXXFLAGS) \ +AM_CXXFLAGS = \ + -fno-rtti \ + -fnon-call-exceptions \ + $(THREADCXXFLAGS) \ -fdollars-in-identifiers \ -Wswitch-enum \ -D_FILE_OFFSET_BITS=64 \ - @LIBGCJ_CXXFLAGS@ @X_CFLAGS@ $(WARNINGS) -D_GNU_SOURCE \ - -DPREFIX="\"$(prefix)\"" -DLIBDIR="\"$(libdir)\"" \ + @LIBGCJ_CXXFLAGS@ \ + @X_CFLAGS@ \ + $(WARNINGS) \ + -D_GNU_SOURCE \ + -DPREFIX="\"$(prefix)\"" \ + -DLIBDIR="\"$(libdir)\"" \ -DBOOT_CLASS_PATH="\"$(jardir)/$(jar_DATA)\"" \ -DJAVA_EXT_DIRS="\"$(jardir)/ext\"" -- 2.30.2