← Back to team overview

openjdk team mailing list archive

Bug#661695: Bug#661695: still overwriting hotspot build flags

 

On 29/02/2012 14:46, Matthias Klose wrote:
One discrepancy I've found is that CFLAGS *AND* CPPFLAGS are both send to
g++ invocation - so there duplicate flags send to compiler.

You only have to export/set these for jamvm and cacao (and the
pulseaudio stuff). The proper solution would from my point of view is to
set these in the IcedTea Makefile when configuring jamvm and cacao (or
make
these aware of EXTRA_* as well).

This seems to be whishlist and not serious bug...

only if CFLAGS in hotspot is not overwritten. And only if the
optimization level for the hotspot build is not downgraded to -O2.

Good catch : I haven't seen that default -03 was overwrite by -02
OK, I'm working on improving that for next upload.

Regards,
--
Damien





References