This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: way to add a compiler flag via configure?
- From: Anthony Green <green at redhat dot com>
- To: Adam Megacz <gcj at lists dot megacz dot com>
- Cc: java at gcc dot gnu dot org
- Date: 28 Jan 2002 08:29:00 -0800
- Subject: Re: way to add a compiler flag via configure?
- References: <86pu3v5lgd.fsf@megacz.com>
On Sun, 2002-01-27 at 17:10, Adam Megacz wrote:
>
> Is there a way to specify a command line option when running configure
> on libjava such that that command line option will be added to every
> invocation of gcc/gcj?
Yes, you can add it to the specs file (libgcj.spec).
The actual machinery for adding new flags to libgcj.spec can be set up a
number of different ways. There are target specific flags set up in
configure.host, and some which are set depending on configure options.
AG