Skip to content

Commit c21a826

Browse files
committed
feat: native Spring Web workloads (#335) - add -march=compatibility to avoid infrequent CPU features error
1 parent 3ef9aab commit c21a826

File tree

1 file changed

+1
-1
lines changed
  • samples/springboot3/pet-store-native

1 file changed

+1
-1
lines changed

samples/springboot3/pet-store-native/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
<artifactId>native-maven-plugin</artifactId>
7979
<configuration>
8080
<buildArgs>
81-
<buildArg>--enable-url-protocols=http --enable-preview</buildArg>
81+
<buildArg>--enable-url-protocols=http --enable-preview -march=compatibility</buildArg>
8282
</buildArgs>
8383
</configuration>
8484
<executions>

0 commit comments

Comments
 (0)