way to add a compiler flag via configure?

Anthony Green green@redhat.com
Mon Jan 28 08:29:00 GMT 2002

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.


More information about the Java mailing list