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: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- To: Adam Megacz <gcj at lists dot megacz dot com>
- Cc: java at gcc dot gnu dot org
- Date: Tue, 29 Jan 2002 12:36:56 +1300
- Subject: Re: way to add a compiler flag via configure?
- References: <86pu3v5lgd.fsf@megacz.com>
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?
>
>I'm looking for something like
>
> ./configure --add-compiler-option=-ffunction-sections
>
Not currently, but it would be pretty easy to add one. Note that you can
add options in your libgcj.spec file to get them added to every
invocation automatically.
regards
Bryce.