buildGraalvmNativeImage: build with "-march=compatibility" by default
This is necessary for compatibility with all targets supported by nixpkgs.
This commit is contained in:
parent
9e2ee4c846
commit
7db47744f5
@ -13,6 +13,7 @@
|
|||||||
, nativeImageBuildArgs ? [
|
, nativeImageBuildArgs ? [
|
||||||
(lib.optionalString stdenv.isDarwin "-H:-CheckToolchain")
|
(lib.optionalString stdenv.isDarwin "-H:-CheckToolchain")
|
||||||
"-H:Name=${executable}"
|
"-H:Name=${executable}"
|
||||||
|
"-march=compatibility"
|
||||||
"--verbose"
|
"--verbose"
|
||||||
]
|
]
|
||||||
# Extra arguments to be passed to the native-image
|
# Extra arguments to be passed to the native-image
|
||||||
|
Loading…
Reference in New Issue
Block a user