diff options
| author | Evgeny Sagatov <sagatov@ya.ru> | 2024-02-02 16:01:24 +0300 |
|---|---|---|
| committer | Tim Orling <tim.orling@konsulko.com> | 2024-02-03 16:38:27 -0800 |
| commit | ae2952c7668db180fa6acefe82457df913342837 (patch) | |
| tree | cc2d386c1655df9a67a4b5db7fe4da604b994f6e /recipes-core/openjdk | |
| parent | 6642d7842cddeb5cdd29973eb8db78f0078c1baf (diff) | |
| download | meta-java-mickledore.tar.gz | |
Add compatability with GCC 12.xmickledore
Fixes build for kas 4.2 and Yocto Project 4.3.2
Signed-off-by: Evgeny Sagatov <sagatov@ya.ru>
Backport from 8c0c9f13cb89008f080fded0ca435f388e97bd7b
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Diffstat (limited to 'recipes-core/openjdk')
| -rw-r--r-- | recipes-core/openjdk/openjdk-7-common.inc | 3 | ||||
| -rw-r--r-- | recipes-core/openjdk/openjdk-8-common.inc | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/recipes-core/openjdk/openjdk-7-common.inc b/recipes-core/openjdk/openjdk-7-common.inc index 0435233..cba1ea6 100644 --- a/recipes-core/openjdk/openjdk-7-common.inc +++ b/recipes-core/openjdk/openjdk-7-common.inc | |||
| @@ -459,3 +459,6 @@ ALTERNATIVE_LINK_NAME[javac] = "${bindir}/javac" | |||
| 459 | ALTERNATIVE_LINK_NAME[keytool] = "${bindir}/keytool" | 459 | ALTERNATIVE_LINK_NAME[keytool] = "${bindir}/keytool" |
| 460 | 460 | ||
| 461 | ALTERNATIVE_PRIORITY = "50" | 461 | ALTERNATIVE_PRIORITY = "50" |
| 462 | |||
| 463 | # canon-prefix-map doesn't exist in gcc 12.x | ||
| 464 | DEBUG_PREFIX_MAP:remove = "-fcanon-prefix-map" | ||
diff --git a/recipes-core/openjdk/openjdk-8-common.inc b/recipes-core/openjdk/openjdk-8-common.inc index 16e3816..82bf31e 100644 --- a/recipes-core/openjdk/openjdk-8-common.inc +++ b/recipes-core/openjdk/openjdk-8-common.inc | |||
| @@ -194,3 +194,6 @@ BUILD_CXXFLAGS:append = " ${GLOBAL_FLAGS}" | |||
| 194 | # flags for -cross | 194 | # flags for -cross |
| 195 | TARGET_CFLAGS:append = " ${GLOBAL_FLAGS}" | 195 | TARGET_CFLAGS:append = " ${GLOBAL_FLAGS}" |
| 196 | TARGET_CXXFLAGS:append = " ${GLOBAL_FLAGS}" | 196 | TARGET_CXXFLAGS:append = " ${GLOBAL_FLAGS}" |
| 197 | |||
| 198 | # canon-prefix-map doesn't exist in gcc 12.x | ||
| 199 | DEBUG_PREFIX_MAP:remove = "-fcanon-prefix-map" | ||
