This is the mail archive of the java@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]

Re: way to add a compiler flag via configure?


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.



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