+ BUILD_TRIPLE=$TERMUX_ARCH-linux-gnu
+ test "$TERMUX_ARCH" == "arm" && BUILD_TRIPLE+="eabi"
+
+ JVM_FEATURES="compiler1,compiler2,jvmti,fprof,vm-structs,jni-check,services,management,all-gcs,nmt,cds"
+ # enable features specific to some arches
+ if [ "$TERMUX_ARCH" == "aarch64" ] || [ "$TERMUX_ARCH" == "x86_64" ]; then JVM_FEATURES+=",jvmci,graal"; fi
+
+ # remove sa_proc support
+ rm $TERMUX_PKG_SRCDIR/hotspot/make/lib/Lib-jdk.hotspot.agent.gmk