From e86293d250add87121ec7c1f02f0367632c389d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 14 Mar 2022 09:26:04 +0100 Subject: [PATCH] gnu: ocaml-lacaml: Do not build with "-march=native". * gnu/packages/ocaml.scm (ocaml-lacaml)[origin]: Add 'snippet'. [properties]: New field. --- gnu/packages/ocaml.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index fff85a6de2..78eab203de 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -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.