← Back to team overview

openjdk team mailing list archive

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

 

On 29.02.2012 14:35, Damien Raude-Morvan wrote:
Hi Matthias,

On Wed, 29 Feb 2012 13:08:16 +0100, Matthias Klose<doko@xxxxxxxxxx>
wrote:
as mentioned in email, exporting CFLAGS etc. in debian/rules overwrites
Hotspots CFLAGS.

Could you please be a bit more specific : which exact gcc/g++ flag is
overriden during hotspot build ?

CFLAGS is set on its own the the hotspot make files.

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.





Follow ups

References