8241665: Configuring --with-jvm-features=-compiler2 fails to build on AArch64

Build config --with-jvm-features=-compiler2 fails on AArch64 because JVMCI path includes opto and ad headers

Reviewed-by: kvn, aph
1 file changed