summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/openjdk/openjdk-17.0.6_p10-r1.ebuild')
-rw-r--r--dev-java/openjdk/openjdk-17.0.6_p10-r1.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-java/openjdk/openjdk-17.0.6_p10-r1.ebuild b/dev-java/openjdk/openjdk-17.0.6_p10-r1.ebuild
index 1a2fcdf2672e..dcc0a6301e0d 100644
--- a/dev-java/openjdk/openjdk-17.0.6_p10-r1.ebuild
+++ b/dev-java/openjdk/openjdk-17.0.6_p10-r1.ebuild
@@ -260,6 +260,10 @@ src_configure() {
}
src_compile() {
+ # Too brittle - gets confused by e.g. -Oline
+ unset GNUMAKEFLAGS
+ export MAKEOPTS="-j$(makeopts_jobs) -l$(makeopts_loadavg)"
+
local myemakeargs=(
JOBS=$(makeopts_jobs)
LOG=debug