guix-commits
[Top][All Lists]
Advanced

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

01/03: gnu: tokyocabinet: Fix building on non-x86 systems.


From: guix-commits
Subject: 01/03: gnu: tokyocabinet: Fix building on non-x86 systems.
Date: Mon, 15 May 2023 15:32:05 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit d9c0280d5e9b636c75c315c8b7aad12e84e67570
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon May 15 21:33:56 2023 +0300

    gnu: tokyocabinet: Fix building on non-x86 systems.
    
    * gnu/packages/databases.scm (tokyocabinet)[arguments]: Adjust
    configure-flags to not enable x86 specific cflags when building for
    other architectures.
---
 gnu/packages/databases.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 2b4ec5e09a..3eaaf21a8c 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -2659,7 +2659,11 @@ database and supports many programming languages.  It is 
a NoSQL database.")
     (build-system gnu-build-system)
     (arguments
      `(#:configure-flags
-       (list "--enable-pthread" "--enable-off64" "--enable-fastest"
+       (list "--enable-pthread" "--enable-off64"
+             ,@(if (target-x86?)
+                 ;; Enables x86 specific cflags.
+                 '("--enable-fastest")
+                 '())
         (string-append "LDFLAGS=-Wl,-rpath="
                        (assoc-ref %outputs "out") "/lib"))))
     (inputs



reply via email to

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