guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix build of vcftools on i686.


From: Ricardo Wurmus
Subject: [PATCH] Fix build of vcftools on i686.
Date: Mon, 4 May 2015 12:19:16 +0200

The attached patch fixes building vcftools on i686.  I tested building
it on a real i686 machine.

>From 4b8f52bcfa2a4284f7c7d98365e6f6058a709b34 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <address@hidden>
Date: Mon, 4 May 2015 12:17:14 +0200
Subject: [PATCH] gnu: vcftools: Remove "-m64" from CFLAGS.

* gnu/packages/bioinformatics.scm (vcftools): Explicitly set CFLAGS to
  remove "-m64" flag.
---
 gnu/packages/bioinformatics.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 7c2c439..fa7ff4c 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -1713,6 +1713,7 @@ in terms of new algorithms.")
     (arguments
      `(#:tests? #f ; no "check" target
        #:make-flags (list
+                     "CFLAGS=-O2" ; override "-m64" flag
                      (string-append "PREFIX=" (assoc-ref %outputs "out"))
                      (string-append "MANDIR=" (assoc-ref %outputs "out")
                                     "/share/man/man1"))
-- 
2.1.0


reply via email to

[Prev in Thread] Current Thread [Next in Thread]