This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: libgcj Makefile fixlet
- From: Tom Tromey <tromey at redhat dot com>
- To: GCC libjava patches <java-patches at gcc dot gnu dot org>
- Date: 09 Jul 2003 14:51:15 -0600
- Subject: Patch: FYI: libgcj Makefile fixlet
- Reply-to: tromey at redhat dot com
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)" \