[patch] Fix zero builds for non-listed architectures

Matthias Klose doko at debian.org
Tue Aug 30 12:33:44 UTC 2016


The zero build for architectures not explicitly listed fails currently in
hotspot, because of an unset macro, and the compiler complains about a single -D
option passed.

Here are two proposals how to fix these:

 - Not passing the -D<cpu_define> if it is not set. Afaik the define
   is only used for hotspot builds, not for zero builds.

 - Provide a fall back for "unknown" zero architectures.

Matthias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hotspot-undefined-target-cpu.diff
Type: text/x-diff
Size: 1068 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20160830/4f4fa5cc/hotspot-undefined-target-cpu.diff>


More information about the build-dev mailing list