File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
build-farm/platform-specific-configurations Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -341,9 +341,12 @@ else
341341 fi
342342fi
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
348351fi
349352
You can’t perform that action at this time.
0 commit comments