summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Anderson <telans@posteo.de>2021-01-20 08:56:22 +1300
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-02-21 11:52:29 -0800
commit9f79570a7ea547821762120fe8fe7eace69ca3c0 (patch)
tree0484bf107e64310594b4e1de1399d35760b26796
parentapp-admin/restart-services: Keyword 0.17.0 arm64, #769701 (diff)
downloadgentoo-9f79570a7ea547821762120fe8fe7eace69ca3c0.tar.gz
gentoo-9f79570a7ea547821762120fe8fe7eace69ca3c0.tar.bz2
gentoo-9f79570a7ea547821762120fe8fe7eace69ca3c0.zip
dev-java/openjdk: pass --with-toolchain-type to configure with clang
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Theo Anderson <telans@posteo.de> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
-rw-r--r--dev-java/openjdk/openjdk-11.0.10_p9.ebuild1
-rw-r--r--dev-java/openjdk/openjdk-11.0.9_p11.ebuild3
-rw-r--r--dev-java/openjdk/openjdk-8.272_p10.ebuild3
-rw-r--r--dev-java/openjdk/openjdk-8.282_p08.ebuild1
4 files changed, 6 insertions, 2 deletions
diff --git a/dev-java/openjdk/openjdk-11.0.10_p9.ebuild b/dev-java/openjdk/openjdk-11.0.10_p9.ebuild
index 57a90d8d2d0..ca908bb4c18 100644
--- a/dev-java/openjdk/openjdk-11.0.10_p9.ebuild
+++ b/dev-java/openjdk/openjdk-11.0.10_p9.ebuild
@@ -168,6 +168,7 @@ src_configure() {
--with-zlib=system
--enable-dtrace=$(usex systemtap yes no)
--enable-headless-only=$(usex headless-awt yes no)
+ $(tc-is-clang && echo "--with-toolchain-type=clang")
)
if use javafx; then
diff --git a/dev-java/openjdk/openjdk-11.0.9_p11.ebuild b/dev-java/openjdk/openjdk-11.0.9_p11.ebuild
index bce9c577d49..ca908bb4c18 100644
--- a/dev-java/openjdk/openjdk-11.0.9_p11.ebuild
+++ b/dev-java/openjdk/openjdk-11.0.9_p11.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -168,6 +168,7 @@ src_configure() {
--with-zlib=system
--enable-dtrace=$(usex systemtap yes no)
--enable-headless-only=$(usex headless-awt yes no)
+ $(tc-is-clang && echo "--with-toolchain-type=clang")
)
if use javafx; then
diff --git a/dev-java/openjdk/openjdk-8.272_p10.ebuild b/dev-java/openjdk/openjdk-8.272_p10.ebuild
index 3ada98beb8d..4e2309327cd 100644
--- a/dev-java/openjdk/openjdk-8.272_p10.ebuild
+++ b/dev-java/openjdk/openjdk-8.272_p10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -175,6 +175,7 @@ src_configure() {
--with-zlib=system
--with-native-debug-symbols=$(usex debug internal none)
$(usex headless-awt --disable-headful '')
+ $(tc-is-clang && echo "--with-toolchain-type=clang")
)
# PaX breaks pch, bug #601016
diff --git a/dev-java/openjdk/openjdk-8.282_p08.ebuild b/dev-java/openjdk/openjdk-8.282_p08.ebuild
index 877e6b121a3..093a181abbf 100644
--- a/dev-java/openjdk/openjdk-8.282_p08.ebuild
+++ b/dev-java/openjdk/openjdk-8.282_p08.ebuild
@@ -175,6 +175,7 @@ src_configure() {
--with-zlib=system
--with-native-debug-symbols=$(usex debug internal none)
$(usex headless-awt --disable-headful '')
+ $(tc-is-clang && echo "--with-toolchain-type=clang")
)
# PaX breaks pch, bug #601016