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.master
parent
6e38ec447f
commit
d9c0280d5e
|
@ -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
|
||||
|
|
Reference in New Issue