gnu: libffi: Don't optimize for the build machine CPU.
* gnu/packages/libffi.scm (libffi)[arguments]: Add #:configure-flags.
This commit is contained in:
parent
e63199ec68
commit
1935b8d56a
|
@ -50,7 +50,10 @@
|
||||||
(patches (search-patches "libffi-3.2.1-complex-alpha.patch"))))
|
(patches (search-patches "libffi-3.2.1-complex-alpha.patch"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(;; Prevent the build system from passing -march and -mtune to the
|
||||||
|
;; compiler. See "ax_cc_maxopt.m4" and "ax_gcc_archflag.m4".
|
||||||
|
#:configure-flags '("--enable-portable-binary" "--without-gcc-arch")
|
||||||
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'install 'post-install
|
(add-after 'install 'post-install
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
|
Loading…
Reference in New Issue