unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] Fix build of vcftools on i686.
@ 2015-05-04 10:19 Ricardo Wurmus
  2015-05-05  8:03 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Ricardo Wurmus @ 2015-05-04 10:19 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 99 bytes --]

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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-vcftools-Remove-m64-from-CFLAGS.patch --]
[-- Type: text/x-patch, Size: 984 bytes --]

From 4b8f52bcfa2a4284f7c7d98365e6f6058a709b34 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix build of vcftools on i686.
  2015-05-04 10:19 [PATCH] Fix build of vcftools on i686 Ricardo Wurmus
@ 2015-05-05  8:03 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2015-05-05  8:03 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> skribis:

> From 4b8f52bcfa2a4284f7c7d98365e6f6058a709b34 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
> 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.

Sure, please push.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-05  8:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-04 10:19 [PATCH] Fix build of vcftools on i686 Ricardo Wurmus
2015-05-05  8:03 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).