diff options
Diffstat (limited to 'gnu/packages/lc0.scm')
-rw-r--r-- | gnu/packages/lc0.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/lc0.scm b/gnu/packages/lc0.scm index 1061fe0aca..e9bfc038cc 100644 --- a/gnu/packages/lc0.scm +++ b/gnu/packages/lc0.scm @@ -60,7 +60,13 @@ #:configure-flags #~(list "-Ddnnl=true" (string-append "-Ddnnl_dir=" - #$(this-package-input "oneapi-dnnl"))))) + #$(this-package-input "oneapi-dnnl"))) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-march-native + (lambda _ + (substitute* "meson.build" + (("-march=native") ""))))))) (native-search-paths (list (search-path-specification (variable "XDG_DATA_DIRS") |