diff options
author | Erkka Kääriä <erkka.kaaria@intel.com> | 2016-03-21 13:39:12 +0200 |
---|---|---|
committer | Maxin B. John <maxin.john@intel.com> | 2016-03-23 11:53:00 +0200 |
commit | efc3daa7526a5ae5aad24a0f777d2274aab3d5c3 (patch) | |
tree | 05d4b76983ec8174c2de86c43dad3d19299bafd1 /classes/java.bbclass | |
parent | d354a638e7e919bebbde3c21c830b19aca004809 (diff) | |
download | meta-java-efc3daa7526a5ae5aad24a0f777d2274aab3d5c3.tar.gz |
Openjdk-8: Fix build flags for adlc
Adlc is a native tool that openjdk builds and uses during its build process.
Bitbake however passes target machine specific CFLAGS and CXXFLAGS because we
are crosscompiling openjdk for the target architecture. This can cause issues,
if these flags contains values, that work for the Yocto provided crosscompiler
but not for the system compiler.
As an example, compilation will fail on Ubuntu 14.04 if
-fstack-protector-strong is specified in the distro security flags. Ubuntu
14.04 ships with GCC 4.8, whereas this flag is only supported by GCC 4.9+.
Signed-off-by: Erkka Kääriä <erkka.kaaria@intel.com>
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Diffstat (limited to 'classes/java.bbclass')
0 files changed, 0 insertions, 0 deletions