Skip to content

Commit 2c84718

Browse files
committed
Shut up linter
Signed-off-by: Stewart X Addison <sxa@redhat.com>
1 parent c2b9a63 commit 2c84718

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
@@ -338,9 +338,12 @@ elif [ -r /usr/bin/gcc-7 ]; then
338338
[ -r /usr/bin/g++-7 ] && export CXX=/usr/bin/g++-7
339339
fi
340340

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

0 commit comments

Comments
 (0)