mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: crc32c: Fix build on x86_64-linux.
* gnu/packages/cpp.scm (crc32c)[arguments]: Remove #:phases. The check is for SSE support in the compiler, not the build machine; and the runtime code tests for SSE availability on the CPU before enabling the SSE code path.
This commit is contained in:
parent
0081807e16
commit
abf214cda0
1 changed files with 1 additions and 7 deletions
|
@ -1976,13 +1976,7 @@ (define-public crc32c
|
|||
"-DCRC32C_BUILD_TESTS="
|
||||
;; TODO: perhaps infer #:tests?
|
||||
(if #$(%current-target-system)
|
||||
"OFF" "ON")))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'make-reproducible
|
||||
(lambda _
|
||||
(substitute* "CMakeLists.txt"
|
||||
(("if\\(HAVE_SSE42\\)") "if(FALSE)")))))))
|
||||
"OFF" "ON")))))
|
||||
(native-inputs (list googletest))
|
||||
(home-page "https://github.com/google/crc32c")
|
||||
(synopsis "Cyclic redundancy check")
|
||||
|
|
Loading…
Reference in a new issue