diff options
author | Marius Bakke <mbakke@fastmail.com> | 2018-08-20 16:36:19 +0200 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2018-08-21 17:24:29 +0200 |
commit | 1935b8d56a4c739f468af973ac9057463c18d1bc (patch) | |
tree | a5076aa921f962e9eac02825a03f1984b06484e2 /gnu/packages/libffi.scm | |
parent | e63199ec68747a590f7429a575302917857c37dd (diff) | |
download | guix-1935b8d56a4c739f468af973ac9057463c18d1bc.tar.gz guix-1935b8d56a4c739f468af973ac9057463c18d1bc.zip |
gnu: libffi: Don't optimize for the build machine CPU.
* gnu/packages/libffi.scm (libffi)[arguments]: Add #:configure-flags.
Diffstat (limited to 'gnu/packages/libffi.scm')
-rw-r--r-- | gnu/packages/libffi.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/libffi.scm b/gnu/packages/libffi.scm index 0d54c305b2..7d3abaff18 100644 --- a/gnu/packages/libffi.scm +++ b/gnu/packages/libffi.scm @@ -50,7 +50,10 @@ (patches (search-patches "libffi-3.2.1-complex-alpha.patch")))) (build-system gnu-build-system) (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 (add-after 'install 'post-install (lambda* (#:key outputs #:allow-other-keys) |