OPENJDK=true build flag - what does it do?

Tiago Stürmer Daitx tdaitx at linux.vnet.ibm.com
Fri Jun 14 05:17:33 PDT 2013


On Thu, 2013-06-13 at 14:49 +0200, Volker Simonis wrote:

> OPENJDK is used to distinguish an Oracle-internal build of the OpenJDK
> sources (enriched/replaced with their proprietary stuff) from a
> vanilla OpenJDK build. It basically controls different source
> alternatives for the different builds (e.g. OpenJDK uses the
> "freetype" font renderer while the Oracle JDK uses "t2k", there are
> differences with the cryptographic files, difference with the fonts -
> Oracle JDK has own fonts OpenJDK does not have them, etc).

Thanks, that was a good explanation!


> As you correctly noticed, OPENJDK should be detected automatically if
> no closed source directories exist in the source tree and we don't
> define it any more for the jdk8 build. Actually I don't remember
> exactly why we set it for the jdk7 build - maybe the self-detection
> didn't work correctly when we started? It may be that you can omit it
> for the jdk7 build now as well.

You are right, it is not required any longer. I was able to build JDK7u
without it.




-- 
Tiago Stürmer Daitx
tdaitx at linux.vnet.ibm.com
IBM - Linux Technology Center



More information about the ppc-aix-port-dev mailing list