diff --git a/gnu/packages/libffi.scm b/gnu/packages/libffi.scm index 5ac092da1c..660762ea09 100644 --- a/gnu/packages/libffi.scm +++ b/gnu/packages/libffi.scm @@ -65,7 +65,9 @@ (define-public libffi ;; compiler. See "ax_cc_maxopt.m4" and "ax_gcc_archflag.m4". #:configure-flags '("--enable-portable-binary" "--without-gcc-arch" - ,@(if (or (target-hurd64?) (%current-target-system)) + ,@(if (or (target-hurd64?) + (%current-target-system) + (and (target-x86-64?) (target-linux?))) (list (string-append "CFLAGS=-g -O2" " -Wno-implicit-function-declaration"))