Compiling awt with -Od
Erik Trimble
erik.trimble at oracle.com
Thu Jul 15 17:54:11 UTC 2010
On 7/15/2010 10:25 AM, Kelly O'Hair wrote:
> Look at OPTIMIZATION_LEVEL, maybe
>
> make OPTIMIZATION_LEVEL=NONE,
> or
> make FASTDEBUG_OPTIMIZATION_LEVEL=NONE ???
>
> -kto
>
> On Jul 15, 2010, at 9:53 AM, Pete Brunet wrote:
>
>> I am building just jdk7/jdk/make/sun/awt and I need to compile at least
>> two files with -Od. It would be OK to compile them all with -Od if need
>> be. Is there an environment variable I can set to make that happen? Or
>> do I need to hack a make file? If the latter, what change is needed?
>> Thanks, Pete
>
Traditionally, you set the environment variable CFLAGS, but that would
impact your entire build effort, not just that section.
You might look in the relevant Makefile for that variable, and just
change it.
--
Erik Trimble
Java System Support
Mailstop: usca22-123
Phone: x17195
Santa Clara, CA
More information about the build-dev
mailing list