mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-01 23:05:57 +02:00
gnu: z3: Fix building on non-Intel machines.
* gnu/packages/maths.scm (z3)[arguments]: Add phase to remove unnecessary include statement.
This commit is contained in:
@@ -3985,6 +3985,12 @@ as equations, scalars, vectors, and matrices.")
|
||||
"/lib/python2.7/site-packages"))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-compatability
|
||||
;; Versions after 4.8.3 have immintrin.h IFDEFed for Windows only.
|
||||
(lambda _
|
||||
(substitute* "src/util/mpz.cpp"
|
||||
(("#include <immintrin.h>") ""))
|
||||
#t))
|
||||
(add-before 'configure 'bootstrap
|
||||
(lambda _
|
||||
(zero?
|
||||
|
||||
Reference in New Issue
Block a user