Mix of CFLAGS and CXXFLAGS

Diego 'Flameeyes' Pettenò flameeyes at gmail.com
Wed May 9 18:14:23 UTC 2007


On Wed, 9 May 2007 17:42:27 +0200
Diego 'Flameeyes' Pettenò <flameeyes at gmail.com> wrote:

> Unfortunately as it is it doesn't work, as CPPFLAGS is reset and
> ignored, probably because of CPPFLAGS being set somewhere in the
> process, not sure where yet (I would have bet on vm.make, but changing
> that to += didn't help.
I think I found the problem I didn't find last night: the output I was
looking at was for adlc, so adlc.make was rewriting CPPFLAGS; I think
I've fixed it now, and my CFLAGS and CXXFLAGS are respected;
unfortunately this also means my extra warnings are enabled
(-Wformat=2 in particular) and -Werror makes the build fail because of
some non-literal format strings.

But beside that, the build proceed (to stop later on as with vanilla
openjdk).

-- 
Diego "Flameeyes" Pettenò
http://farragut.flameeyes.is-a-geek.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openjdk-cxxflags.patch
Type: text/x-patch
Size: 6504 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20070509/ba0a6e4a/openjdk-cxxflags.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openjdk-cxxflags.patch
Type: text/x-patch
Size: 7100 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20070509/ba0a6e4a/openjdk-cxxflags-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20070509/ba0a6e4a/signature.asc>


More information about the build-dev mailing list