This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: FYI: libgcj Makefile fixlet


I'm checking this in on the trunk.

This lets you set CPPFLAGS from the make command-line.  This is useful
if you want to compile without -O2 in the libjava build directory.
These days you have to set CPPFLAGS; this is change from a while back,
when only CXXFLAGS mattered (for the C++ code anyway).

Putting -O2 in CPPFLAGS seems misguided, but that's a discussion for
some other list/time.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* Makefile.in: Rebuilt.
	* Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.

Index: Makefile.am
===================================================================
RCS file: /cvs/gcc/gcc/libjava/Makefile.am,v
retrieving revision 1.304
diff -u -r1.304 Makefile.am
--- Makefile.am 27 Jun 2003 12:48:39 -0000 1.304
+++ Makefile.am 9 Jul 2003 20:58:34 -0000
@@ -2734,6 +2734,7 @@
 	"CC_FOR_BUILD=$(CC_FOR_BUILD)" \
 	"CFLAGS=$(CFLAGS)" \
 	"CXXFLAGS=$(CXXFLAGS)" \
+	"CPPFLAGS=$(CPPFLAGS)" \
 	"CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
 	"CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
 	"INSTALL=$(INSTALL)" \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]