diff options
-rw-r--r-- | recipes-core/openjdk/openjdk-8-cross.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-core/openjdk/openjdk-8-cross.inc b/recipes-core/openjdk/openjdk-8-cross.inc index 03cab11..d0b2ec8 100644 --- a/recipes-core/openjdk/openjdk-8-cross.inc +++ b/recipes-core/openjdk/openjdk-8-cross.inc | |||
@@ -77,13 +77,13 @@ do_install_append() { | |||
77 | if ${@bb.utils.contains('PACKAGECONFIG', 'repack', 'true', 'false', d)} ; then | 77 | if ${@bb.utils.contains('PACKAGECONFIG', 'repack', 'true', 'false', d)} ; then |
78 | if [ -d ${D}${JDK_HOME} ] ; then | 78 | if [ -d ${D}${JDK_HOME} ] ; then |
79 | find ${D}${JDK_HOME} -name "*.jar" -print0 | \ | 79 | find ${D}${JDK_HOME} -name "*.jar" -print0 | \ |
80 | xargs -0 -n1 -P ${@java_get_parallel_make(d)} sh -c ' \ | 80 | xargs -0 -n1 -P ${BB_NUMBER_THREADS} sh -c ' \ |
81 | echo "Repacking" "$0" ; \ | 81 | echo "Repacking" "$0" ; \ |
82 | pack200 --repack --effort=9 --segment-limit=-1 --modification-time=latest --strip-debug "$0"' | 82 | pack200 --repack --effort=9 --segment-limit=-1 --modification-time=latest --strip-debug "$0"' |
83 | fi | 83 | fi |
84 | if [ -d ${D}${JRE_HOME} ] ; then | 84 | if [ -d ${D}${JRE_HOME} ] ; then |
85 | find ${D}${JRE_HOME} -name "*.jar" -print0 | \ | 85 | find ${D}${JRE_HOME} -name "*.jar" -print0 | \ |
86 | xargs -0 -n1 -P ${@java_get_parallel_make(d)} sh -c ' \ | 86 | xargs -0 -n1 -P ${BB_NUMBER_THREADS} sh -c ' \ |
87 | echo "Repacking" "$0" ; \ | 87 | echo "Repacking" "$0" ; \ |
88 | pack200 --repack --effort=9 --segment-limit=-1 --modification-time=latest --strip-debug "$0"' | 88 | pack200 --repack --effort=9 --segment-limit=-1 --modification-time=latest --strip-debug "$0"' |
89 | fi | 89 | fi |