gnu: ocaml-lacaml: Do not build with "-march=native".

* gnu/packages/ocaml.scm (ocaml-lacaml)[origin]: Add 'snippet'.
[properties]: New field.
This commit is contained in:
Ludovic Courtès 2022-03-14 09:26:04 +01:00
parent a359f3a49c
commit e86293d250
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -6925,7 +6925,11 @@ library FFTW.")
(file-name (git-file-name name version))
(sha256
(base32
"115535kphchh2a434b48b408x9794j8zzrsdmacsgqdsrgy3rck4"))))
"115535kphchh2a434b48b408x9794j8zzrsdmacsgqdsrgy3rck4"))
(modules '((guix build utils)))
(snippet '(substitute* '("src/dune" "src/config/dune")
(("-march=native") "")))))
(properties '((tunable? . #t)))
(build-system dune-build-system)
(arguments
`(#:tests? #f)) ; No test target.