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 @@ -338,9 +338,12 @@ elif [ -r /usr/bin/gcc-7 ]; then
338
338
[ -r /usr/bin/g++-7 ] && export CXX=/usr/bin/g++-7
339
339
fi
340
340
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
344
347
fi
345
348
fi
346
349
You can’t perform that action at this time.
0 commit comments