Skip to content

Commit 9a4ecb7

Browse files
committed
Shut up linter
Signed-off-by: Stewart X Addison <sxa@redhat.com>
1 parent 99efea9 commit 9a4ecb7

File tree

1 file changed

+6
-3
lines changed
  • build-farm/platform-specific-configurations

1 file changed

+6
-3
lines changed

build-farm/platform-specific-configurations/linux.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -341,9 +341,12 @@ else
341341
fi
342342
fi
343343

344-
if [ "$JAVA_FEATURE_VERSION" -ge 20 -a "${ARCHITECTURE}" = "x64" -o "${ARCHITECTURE}" = "aarch64" -a "${VARIANT}" == "${BUILD_VARIANT_TEMURIN}" ]; then
345-
if [ -r /usr/local/lib/libcapstone.so.4 ]; then
346-
export CONFIGURE_ARGS_FOR_ANY_PLATFORM="${CONFIGURE_ARGS_FOR_ANY_PLATFORM} --enable-hsdis-bundling --with-hsdis=capstone --with-capstone=/usr/local"
344+
if [ "$JAVA_FEATURE_VERSION" -ge 20 ] && [ "${VARIANT}" == "${BUILD_VARIANT_TEMURIN}" ]; then
345+
# hsdis+capstone only supported on these two in openjdk
346+
if [ "${ARCHITECTURE}" = "x64" ] || [ "${ARCHITECTURE}" = "aarch64" ]; then
347+
if [ -r /usr/local/lib/libcapstone.so.4 ]; then
348+
export CONFIGURE_ARGS_FOR_ANY_PLATFORM="${CONFIGURE_ARGS_FOR_ANY_PLATFORM} --enable-hsdis-bundling --with-hsdis=capstone --with-capstone=/usr/local"
349+
fi
347350
fi
348351
fi
349352

0 commit comments

Comments
 (0)