diff options
author | Theo Anderson <telans@posteo.de> | 2021-01-20 08:56:22 +1300 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-02-21 11:52:29 -0800 |
commit | 9f79570a7ea547821762120fe8fe7eace69ca3c0 (patch) | |
tree | 0484bf107e64310594b4e1de1399d35760b26796 | |
parent | app-admin/restart-services: Keyword 0.17.0 arm64, #769701 (diff) | |
download | gentoo-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.ebuild | 1 | ||||
-rw-r--r-- | dev-java/openjdk/openjdk-11.0.9_p11.ebuild | 3 | ||||
-rw-r--r-- | dev-java/openjdk/openjdk-8.272_p10.ebuild | 3 | ||||
-rw-r--r-- | dev-java/openjdk/openjdk-8.282_p08.ebuild | 1 |
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 57a90d8d2d02..ca908bb4c188 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 bce9c577d492..ca908bb4c188 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 3ada98beb8d3..4e2309327cdd 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 877e6b121a34..093a181abbf6 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 |