Add -march=compatibility

This commit is contained in:
Eugene Yokota 2024-10-19 22:02:40 -04:00
parent 80fb44cf8c
commit 9a6931ad54
1 changed files with 4 additions and 0 deletions

View File

@ -1188,6 +1188,10 @@ lazy val sbtClientProj = (project in file("client"))
nativeImageOptions ++= Seq(
"--no-fallback",
s"--initialize-at-run-time=sbt.client",
// "The current machine does not support all of the following CPU features that are required by
// the image: [CX8, CMOV, FXSR, MMX, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, POPCNT, LZCNT, AVX,
// AVX2, BMI1, BMI2, FMA, F16C]."
"-march=compatibility",
// "--verbose",
"-H:IncludeResourceBundles=jline.console.completer.CandidateListCompletionHandler",
"-H:+ReportExceptionStackTraces",