1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

buildGraalvmNativeImage: build with "-march=compatibility" by default

This is necessary for compatibility with all targets supported by nixpkgs.
This commit is contained in:
Moritz Heidkamp 2023-10-11 18:01:49 +02:00
parent 9e2ee4c846
commit 7db47744f5

View file

@ -13,6 +13,7 @@
, nativeImageBuildArgs ? [
(lib.optionalString stdenv.isDarwin "-H:-CheckToolchain")
"-H:Name=${executable}"
"-march=compatibility"
"--verbose"
]
# Extra arguments to be passed to the native-image